mvdm
Posts: 21
Joined: Fri Nov 25, 2016 1:34 pm

Global Alsamixer equaliser

Sun Jul 02, 2017 7:33 pm

Hi all,

i have a RPI3 running Jessie Pixel, the Pi3 has a HifiBerry AMP attached. The amp works, and through a lot of trial and error I finally managed to get the alsamixer equaliser to work some of the time.

To make it work I did the following:

$ sudo nano /boot/config.txt

Code: Select all

#dtparam=audio=on
$ sudo nano /etc/modprobe.d/alsa-blacklist.conf

Code: Select all

blacklist snd_bcm2835
$ sudo nano /etc/asound.conf

Code: Select all

pcm.!default {
 type plug
 slave.pcm plugequal;
}
ctl.!default {
 type hw card 0
}
ctl.equal {
 type equal;
}
pcm.plugequal {
 type equal;
 slave.pcm "plughw:0,0";
}
pcm.equal {
 type plug;
 slave.pcm plugequal;
}
I can test it with "$ speaker-test -c2 -twav" and my equaliser has an effect and works also when i play music through my RTL-SDR "$ rtl_fm -g 50 -f 101M -M wfm -s 180k -E deemp | play -r 180k -t raw -e s -b 16 -c 1 -V1 - lowpass 16k"

But it will not work for chromium, or pulseaudio bluetooth connection. The audio plays, but with no EQ.

I tried the following:

$ sudo nano ~/.asoundrc

Code: Select all

pcm.!default {
 type plug
 slave.pcm plugequal;
}
ctl.equal {
 type equal;
}
pcm.plugequal {
 type equal;
 slave.pcm "plughw:0,0";
}
But the result was that the sound test and FM radio (RTL-SDR) was still working, but chromium and pulse audio was no longer producing any sound output.

How can i configure a global equaliser that will just work for everything? Thanks in advance

Return to “Advanced users”