Re: PulseAudio Equalizer Script

Originally Posted by nightfever

I get an error when installing

Code:

Fetched 4,767 B in 3s (1,222 B/s)
W: Failed to fetch http://ppa.launchpad.net/psyke83/ppa/ubuntu/dists/natty/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/psyke83/ppa/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pulseaudio-equalizer

Re: PulseAudio Equalizer Script

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.

Last edited by alexei.colin; August 14th, 2011 at 01:06 AM.
Reason: Found search.

The interface could be modified to support the fil-plugins plugin properly, but I'm not sure if it's worthwhile (and I don't think that a regular screen would fit all the details onto the interface without scrolling).
.....

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:

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.

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

Code:

pacmd move-sink-input streamIndex wantedSinkIndex

You can obtain all the IDs from the devices tab of the manager.

Unwanted sink can be deleted by the commmand:

Code:

pacmd unload-module moduleID

The moduleID is different to wantedSinkIndex from previous command and can be found in "Owner Module" line in the properties of the sink.

Hope I helped some of you and you can now enjoy your music better with Pulseaudio!