Ok I got it.
All you have to do is edit a preset file and add custom frequencies.
Just search for a folder called "presets" and you'll have all the .preset files there.
Thank you for the script! Works nicely.
I'm experiencing the following issue: upon enabling the equalizer the system volume goes to maximum value regardless of what it was before (incl. even muted). The volume value is not affected upon disabling the equalizer. Is this a known issue? (sorry if this was mentioned here -- I couldn't quickly figure out how to search through one thread on Ubuntu Forms). EDIT: Yes, search is right there, sorry. So, I found references to this, but no conclusive resolution (problem just "went away" in one case). It's happening in Natty for me. What's the verdict on this volume-to-maximum-on-eq-enable issue? Thanks.
You can read more about the loading the module here:Code:
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.Code:
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.Code:
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.Code:
pacmd unload-module moduleID
Hope I helped some of you and you can now enjoy your music better with Pulseaudio!