Gentoo Linux: Enabling a mbeq equalizer for ALSA breaks application audio but works when tested with speaker-test

The name of the pictureThe name of the pictureThe name of the pictureClash 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"










share|improve this question





















  • 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















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"










share|improve this question





















  • 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













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"










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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

















  • 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
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay