For those who are not awared from command line and find that 4-band parametric filter (LADSPA plugin filters.so -package fil-plugins) can do better job for them as classical 15-band mbeq (e.g. do not have ideal acoustic room treatment and exactly know what frequencies by which amount to equalize) here is simple command using pulseaudio module-ladspa-sink module:
Originally Posted by psyke83
You can read more about the loading the module here:
pacmd load-module module-ladspa-sink sink_name=ladspa_out master=alsa_output.pci-0000_00_1b.0.analog-stereo plugin=filters label=Parametric1 control=1,0,1,98,0.125,8,1,113,0.125,-13,0,600,0.125,-20,0,3300,0.125,0
The master name you can find by running the command :
The control section takes 18 parameters for the filters plugin (because the first two listed in plugin overview are not of type "input control" and are not involved in the control section), so we start from filter parameter which enables the plugin (IMHO), than we have gain set to zero. Then follow 4 sections of four numbers - on/off toggle for the section, frequency, bandwidth and wanted gain for the section.
pacmd list-sinks|grep 'name:'
What I wanted to do was make very narrow 8dB bump on 98Hz (bandwidth 0.125), than really supress (again very narrowly - bandwidth 0.125) frequencies around 113Hz by -13dB (here my room resonates). I am not using the last two sections (leading zeros in their toggle control) at the moment. Just to notice - bandwith control is not in "Q units" (the higher the Q the narrower the band) but the highest value 8 means the widest frequency band affected and vice versa.
So we have crated a pulseaudio sink called ladspa_out (you can check it in the Manager Devices tab) but now we want to play through it. It seems to me there is not optimal synchronization between the set-default-sink command and GUI tool "padevchooser". I advise you to use the padevchooser and set there default sink to "Other.." and write "ladspa_out" string. Although the pulseaudio manager still shows the old default sink in the "server information tab" you can try to start any new stream and in the "Devices" tab of the Manager you should see that new stream is played through our created LADSPA sink.
For experimenting you can create another instance of the equalizer with different controls - it only gets different ID and you route streams between the sinks without stopping them with the command
You can obtain all the IDs from the devices tab of the manager.
pacmd move-sink-input streamIndex wantedSinkIndex
Unwanted sink can be deleted by the commmand:
The moduleID is different to wantedSinkIndex from previous command and can be found in "Owner Module" line in the properties of the sink.
pacmd unload-module moduleID
Hope I helped some of you and you can now enjoy your music better with Pulseaudio!