PulseAudio Equalizer sink selection

Recent pulseaudio versions provide an equalizer. The tool can be started by running:

$ qpaeq

If the tool fails to start, certain modules have to be loaded first. All information needed can be found here PulseAudio - ArchWiki.

Depending on how many audio devices you have connected, the equalizer might be initialized using the wrong sink, but you can change the sink the equalizer should work with. At first unload - if loaded - the module module-equalizer-sink. $ pactl unload-module module-equalizer-sink

Now get the sink name you want to use. The command (with output example) will give you a brief overview of your sinks:

$ pactl list sinks short
0       alsa_output.pci-0000_01_00.1.hdmi-stereo        module-alsa-card.c      s16le 2ch 48000Hz       RUNNING
1       alsa_output.pci-0000_00_1b.0.analog-stereo      module-alsa-card.c      s16le 2ch 48000Hz       RUNNING
3       rtp     module-null-sink.c      s16be 2ch 44100Hz       IDLE
4       combined        module-combine-sink.c   s16le 2ch 48000Hz       IDLE
5       alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo module-alsa-card.c      s16le 2ch 48000Hz       RUNNING

In my case, I wanted the equalizer to work with the “G930 Headset” instead of the “Built-in Audio”. This is achieved by naming the sink_master as module argument on load. For example, considering the above sample output of pactl list sinks short, we will load the module:

$ pactl load-module module-equalizer-sink sink_name="equalizer" sink_master="alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo"

Update #1

It is not necessary to unload the module first, this will most likey result in crashing pulseaudio. Just execute the command

$ pactl load-module module-equilizer-sink sink_name=<name> sink_master=<audio device name to use>
Last modified: le 2013/12/05 18:43