You are not logged in.
Pages: 1
Topic closed
Hi, i want to have a realtime equalizer for alsa for my system ( my laptop's speakers are not very good ) .
For now, i play with asoundrc and ladspa plugins but it's not very useful .
I found this ( it is in early development ) but it don't work for me.If someone get it working : http://www.thedigitalmachine.net/alsaequal.html
Offline
this looks interesting
[edit]
wow, this is nice
update: I was able to get it working with speaker-test, but not mpd (yet)
update 2: ok, got it working with almost everything except MPD. Even by setting it as default.
here's an ~/.asoundrc (aka /etc/asound.conf) to use for reference
pcm.plugequal{
type equal
slave.pcm "plug:dmix"
}
ctl.equal{
type equal
}
#I couldn't get this working, but I just assume it's essential
pcm.equal{
type plug
slave.pcm "plug:dmix"
}
pcm.!default {
type plug
slave.pcm "plugequal"
}
The equalizer can only be accessed through the ncurses alsamixer by running alsamixer -D equal
Also, the 30hz band doesn't seem to do anything.
Last edited by NoOneImportant (2008-08-10 04:43:28)
Offline
Hi, as for now it seems to be work out of box and works great. I got it working with your NoOneImportant's asoundrc (put it on my path).
It also works with MPD (using git for AUR)
alsaequal is on AUR.
Last edited by masterLoki (2009-07-20 06:25:22)
masterLoki - Trying to understand the universe
Offline
what's it like on resources?
Offline
@sand_man : for me it's +10 %
@masterLoki : could you post your mpd.conf and your asound.conf (or rc)
for me alsaequal doesn't work with gstreamer and mpd. (it work well with mplayer)
here is my asound.conf :
ctl.equalizerV {
type equal
library "/usr/lib/ladspa/mbeq_1197.so"
module "mbeq"
}
pcm.plugEqualizerV {
type equal
slave.pcm "plug:dmix"
library "/usr/lib/ladspa/mbeq_1197.so"
module "mbeq"
}
#pcm.!default {
pcm.equalizerV {
type plug
slave.pcm plugEqualizerV
}
pcm.plugEqualizerF {
type ladspa
# The output from the EQ can either go direct to a hardware device
# (if you have a hardware mixer, e.g. SBLive/Audigy) or it can go
# to the software mixer shown here.
#slave.pcm "plughw:0,0"
slave.pcm "plug:dmix"
# Sometimes you may need to specify the path to the plugins,
# especially if you've just installed them. Once you've logged
# out/restarted this shouldn't be necessary, but if you get errors
# about being unable to find plugins, try uncommenting this.
path "/usr/lib/ladspa"
plugins [
{
label mbeq
id 1197
input {
#this setting is here by example, edit to your own taste
#bands: 50hz, 100hz, 156hz, 220hz, 311hz, 440hz, 622hz, 880hz, 1250hz, 1750hz, 25000hz,
#3500hz, 5000hz, 10000hz, 20000hz
# de -70 a 30
controls [ -70 -30 -10 0 0 0 0 0 0 0 0 0 0 0 0 ]
}
}
]
}
pcm.!default {
type plug
slave.pcm plugEqualizerF
}
I use ladspa as a normal equalizer and alsaequal to found the correct setting of ladspa.
Sometime I use alsaequal with mplayer for divx...
here is the command :
alsamixer -D equalizerV
to adjust alsaequal
and
mplayer -ao alsa:device=equalizerV MyMovie.avi
Offline
for me alsaequal doesn't work with gstreamer and mpd. (it work well with mplayer)
I encoutered this problem, too.
Then, I figured out that alsaequal does *not* store the eq settings system-wide but on a per-user basis ($HOME/.alsaequal.bin). mpd runs as user mpd (check your mpd configuration), so copying .alsaequal.bin to /var/lib/mpd/ solved the problem for me.
Alternatively you can use su, alsamixer and probably chsh to set up eq settings for mpd.
Offline
thanks for the tips :-)
Offline
Could anyone help direct me to a solution for this return:
[iode1@arch ~]$ alsamixer -D equalizerV
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL equalizerV
cannot open mixer: No such file or directory
Thanks..
Lenovo Thinkpad SL410
Archlinux (XFCE, KDE)
Offline
What's in your asound.conf?
Offline
iode1, this thread is more than two years old and your problem does not really fit here. Please open a new thread of your own and ask again.
Besides, be sure to read our forum etiquette on necro bumping.
Closing.
To know or not to know ...
... the questions remain forever.
Offline
Pages: 1
Topic closed