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

Consider disabling optimizations for SWH Multiband EQ #6341

Open
tresf opened this issue Mar 23, 2022 · 0 comments
Open

Consider disabling optimizations for SWH Multiband EQ #6341

tresf opened this issue Mar 23, 2022 · 0 comments

Comments

@tresf
Copy link
Member

tresf commented Mar 23, 2022

Currently, we use a CMake-adapted version of Steve Harris' Makefile and use optimizations -03, but several upstream bug reports/upstream comments suggest this could cause some audio artifacts under certain configurations, notably some 32-bit hosts.

The symptoms are crackling/frying noise. Oddly, not all LADSPA hosts exhibit the problem, quoting:

Bit of a dredge... but I am also getting EXACTLY the same noise/hiss/crackle as you are playing your ogg file.

it is strange - since aplay and mpg123 play fine directly to alsa configured alsaequal or direct LADSPA plug ins. This works for zm1, vynil and mbeq on my ArchlinuxARM system.

However - when i use mbeq under MPD (either via alsaequal or ladspa) - I am getting the noise you are.

This was working fine on my old ArchlinuxARM version - so I'm guessing a downstream package upgrade has broken things... I've tried "forcing" downgrades - everything works (until you really go into the bowels) - e.g. alsa-lib, fftw, gsm, yet the hiss from mbeq is there.

I can get all plugins working via mpg123 and aplay clients. MPD works with vinyl via LADSPA direct, or zm1, but hisses / crackles via LADSPA or alsaequal under MPD (same asound.conf). The funny thing is MPD works fine with alsaequal's 10 band EQ (in caps.so) under MPD.

Upstream bug reports:

SET(COMPILE_FLAGS "${COMPILE_FLAGS} -O3 -Wall")

There's really no immediate action needed here on LMMS' end, I just found the issue to be popular enough that eventually someone will run into it downstream on our project and sometimes these optimization issues are really hard to track down. 😅

@tresf tresf added bug and removed bug labels Mar 23, 2022
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

1 participant