Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mbeq plugin flat mode volume differs from volume without the plugin #70

Open
AstroKosmoNaut opened this issue Oct 5, 2020 · 4 comments

Comments

@AstroKosmoNaut
Copy link

I'm using the mbeq plugin through pulseaudio-equalizer-gtk. When the GUI has been configured for flat EQ and then enable the equalizer, I hear a significant increase in volume level. This makes it harder to objectively tell any differences when you actually apply EQ in one or more of the bands: the difference in volume already changes the perceptions.

Is there a way to make the plugin behave in such a way that flat settings do not alter the sound at all, as is typically the case with a standalone audio equalizer?

@swh
Copy link
Owner

swh commented Oct 9, 2020

It should be possible yes, as long as the "0" position has a flat frequency response, it should be possible to just scale back the output level.

I can't honestly remember how it works though.

@jerryr
Copy link

jerryr commented May 27, 2021

I had the same problem and setting CFLAGS="-O0" fixed it for me too. I was getting the same scratchy sound and also noticed that it took several seconds for the plugin to initialize, during which one CPU was stuck at 100%.

Edit: sorry, this comment belongs in #64 . Typed it out here by mistake. Apologies!

@swh
Copy link
Owner

swh commented May 27, 2021

That's really interesting - it suggests a compiler bug?

Most likely there's some unsafe numerical optimisations / rounding errors happening.

@jthadden
Copy link

AstroKosmoNaut using pulseaudio-equalizer-gtk can lead to this as it is copying the master volume to the new, virtual sink and then forces the master volume to 100%. You can change this behaviour by editing /usr/bin/pulseaudio-equalizer. Search for the line
PA_REAL_PREAMP_FLOAT=$(echo "$PA_PREAMP65536" | bc)
and change it to
PA_REAL_PREAMP_FLOAT=$(echo "$PA_PREAMP
(65536*0.8)" | bc)
to set the master volume to 80% only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants