Gentoo Linux: Enabling a mbeq equalizer for ALSA breaks application audio but works when tested with speaker-test
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I am running Gentoo Linux using kernel Linux-4.3.3-hardened-r4 and my sound system is only ALSA, i.e. no OSS or Pulseaudio. I am trying to enable a system-wide equalizer, but since alsaequal
never worked on my computer and the fix involves tinkering with the source code, I am using the mbeq
plugin. I performed the steps described on this unofficial Gentoo wiki, and I can get the audio to play through the equalizer using speaker-test -D plug:eq -c 2
(and I know it works because the timbre of the white noise output is notoriously different from what I listen using speaker-test -D plug:dmix -c 2
).
However, when I try to play audio using an user app like an HTML5 YouTube video on Firefox or a song on Audacious, I get no sound.
This is what I pasted on /etc/asound.conf
:
pcm.eq
type ladspa
slave.pcm "plug:dmix"
plugins [
label mbeq
id 1197
input
# The following setting is just an example, edit to your own taste:
# bands: 50hz, 100hz, 156hz, 220hz, 311hz, 440hz, 622hz, 880hz, 1250hz, 1750hz, 25000hz,
# 50000hz, 10000hz, 20000hz
controls [ -5 -5 -5 -5 -5 -10 -20 -15 -10 -10 -10 -10 -10 -3 -2 ]
]
pcm.!default
type plug
slave.pcm "eq"
# Redirect the OSS emulation through the EQ too (when programs are running through "aoss")
pcm.dsp0
type plug
slave.pcm "eq"
gentoo alsa
add a comment |Â
up vote
2
down vote
favorite
I am running Gentoo Linux using kernel Linux-4.3.3-hardened-r4 and my sound system is only ALSA, i.e. no OSS or Pulseaudio. I am trying to enable a system-wide equalizer, but since alsaequal
never worked on my computer and the fix involves tinkering with the source code, I am using the mbeq
plugin. I performed the steps described on this unofficial Gentoo wiki, and I can get the audio to play through the equalizer using speaker-test -D plug:eq -c 2
(and I know it works because the timbre of the white noise output is notoriously different from what I listen using speaker-test -D plug:dmix -c 2
).
However, when I try to play audio using an user app like an HTML5 YouTube video on Firefox or a song on Audacious, I get no sound.
This is what I pasted on /etc/asound.conf
:
pcm.eq
type ladspa
slave.pcm "plug:dmix"
plugins [
label mbeq
id 1197
input
# The following setting is just an example, edit to your own taste:
# bands: 50hz, 100hz, 156hz, 220hz, 311hz, 440hz, 622hz, 880hz, 1250hz, 1750hz, 25000hz,
# 50000hz, 10000hz, 20000hz
controls [ -5 -5 -5 -5 -5 -10 -20 -15 -10 -10 -10 -10 -10 -3 -2 ]
]
pcm.!default
type plug
slave.pcm "eq"
# Redirect the OSS emulation through the EQ too (when programs are running through "aoss")
pcm.dsp0
type plug
slave.pcm "eq"
gentoo alsa
I had a similar experience today. On a raspberry pi 3, b+. Running latest Raspbian. My asound.conf looked similar to yours. I could play audio fine using aplay, it sounded lovely and mbeq is obviously a much more competent EQ than alsaequal. However, playing audio from the applications pertinent to my setup, MPD and shairport-sync, would result in static coming through the speakers. I looked at the stream info, and as far as I could tell there was no difference in the data provided by aplay compared to the other applications. Sampling rate, bit depth etc, all the same.
â FnasBas
Aug 16 at 20:41
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am running Gentoo Linux using kernel Linux-4.3.3-hardened-r4 and my sound system is only ALSA, i.e. no OSS or Pulseaudio. I am trying to enable a system-wide equalizer, but since alsaequal
never worked on my computer and the fix involves tinkering with the source code, I am using the mbeq
plugin. I performed the steps described on this unofficial Gentoo wiki, and I can get the audio to play through the equalizer using speaker-test -D plug:eq -c 2
(and I know it works because the timbre of the white noise output is notoriously different from what I listen using speaker-test -D plug:dmix -c 2
).
However, when I try to play audio using an user app like an HTML5 YouTube video on Firefox or a song on Audacious, I get no sound.
This is what I pasted on /etc/asound.conf
:
pcm.eq
type ladspa
slave.pcm "plug:dmix"
plugins [
label mbeq
id 1197
input
# The following setting is just an example, edit to your own taste:
# bands: 50hz, 100hz, 156hz, 220hz, 311hz, 440hz, 622hz, 880hz, 1250hz, 1750hz, 25000hz,
# 50000hz, 10000hz, 20000hz
controls [ -5 -5 -5 -5 -5 -10 -20 -15 -10 -10 -10 -10 -10 -3 -2 ]
]
pcm.!default
type plug
slave.pcm "eq"
# Redirect the OSS emulation through the EQ too (when programs are running through "aoss")
pcm.dsp0
type plug
slave.pcm "eq"
gentoo alsa
I am running Gentoo Linux using kernel Linux-4.3.3-hardened-r4 and my sound system is only ALSA, i.e. no OSS or Pulseaudio. I am trying to enable a system-wide equalizer, but since alsaequal
never worked on my computer and the fix involves tinkering with the source code, I am using the mbeq
plugin. I performed the steps described on this unofficial Gentoo wiki, and I can get the audio to play through the equalizer using speaker-test -D plug:eq -c 2
(and I know it works because the timbre of the white noise output is notoriously different from what I listen using speaker-test -D plug:dmix -c 2
).
However, when I try to play audio using an user app like an HTML5 YouTube video on Firefox or a song on Audacious, I get no sound.
This is what I pasted on /etc/asound.conf
:
pcm.eq
type ladspa
slave.pcm "plug:dmix"
plugins [
label mbeq
id 1197
input
# The following setting is just an example, edit to your own taste:
# bands: 50hz, 100hz, 156hz, 220hz, 311hz, 440hz, 622hz, 880hz, 1250hz, 1750hz, 25000hz,
# 50000hz, 10000hz, 20000hz
controls [ -5 -5 -5 -5 -5 -10 -20 -15 -10 -10 -10 -10 -10 -3 -2 ]
]
pcm.!default
type plug
slave.pcm "eq"
# Redirect the OSS emulation through the EQ too (when programs are running through "aoss")
pcm.dsp0
type plug
slave.pcm "eq"
gentoo alsa
gentoo alsa
asked Mar 12 '16 at 7:49
RAKK
4391626
4391626
I had a similar experience today. On a raspberry pi 3, b+. Running latest Raspbian. My asound.conf looked similar to yours. I could play audio fine using aplay, it sounded lovely and mbeq is obviously a much more competent EQ than alsaequal. However, playing audio from the applications pertinent to my setup, MPD and shairport-sync, would result in static coming through the speakers. I looked at the stream info, and as far as I could tell there was no difference in the data provided by aplay compared to the other applications. Sampling rate, bit depth etc, all the same.
â FnasBas
Aug 16 at 20:41
add a comment |Â
I had a similar experience today. On a raspberry pi 3, b+. Running latest Raspbian. My asound.conf looked similar to yours. I could play audio fine using aplay, it sounded lovely and mbeq is obviously a much more competent EQ than alsaequal. However, playing audio from the applications pertinent to my setup, MPD and shairport-sync, would result in static coming through the speakers. I looked at the stream info, and as far as I could tell there was no difference in the data provided by aplay compared to the other applications. Sampling rate, bit depth etc, all the same.
â FnasBas
Aug 16 at 20:41
I had a similar experience today. On a raspberry pi 3, b+. Running latest Raspbian. My asound.conf looked similar to yours. I could play audio fine using aplay, it sounded lovely and mbeq is obviously a much more competent EQ than alsaequal. However, playing audio from the applications pertinent to my setup, MPD and shairport-sync, would result in static coming through the speakers. I looked at the stream info, and as far as I could tell there was no difference in the data provided by aplay compared to the other applications. Sampling rate, bit depth etc, all the same.
â FnasBas
Aug 16 at 20:41
I had a similar experience today. On a raspberry pi 3, b+. Running latest Raspbian. My asound.conf looked similar to yours. I could play audio fine using aplay, it sounded lovely and mbeq is obviously a much more competent EQ than alsaequal. However, playing audio from the applications pertinent to my setup, MPD and shairport-sync, would result in static coming through the speakers. I looked at the stream info, and as far as I could tell there was no difference in the data provided by aplay compared to the other applications. Sampling rate, bit depth etc, all the same.
â FnasBas
Aug 16 at 20:41
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f269323%2fgentoo-linux-enabling-a-mbeq-equalizer-for-alsa-breaks-application-audio-but-wo%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I had a similar experience today. On a raspberry pi 3, b+. Running latest Raspbian. My asound.conf looked similar to yours. I could play audio fine using aplay, it sounded lovely and mbeq is obviously a much more competent EQ than alsaequal. However, playing audio from the applications pertinent to my setup, MPD and shairport-sync, would result in static coming through the speakers. I looked at the stream info, and as far as I could tell there was no difference in the data provided by aplay compared to the other applications. Sampling rate, bit depth etc, all the same.
â FnasBas
Aug 16 at 20:41