-
Notifications
You must be signed in to change notification settings - Fork 20
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
Stuck at max volume on latest version from github #166
Comments
Hmm, seems that the latest binary version also is broken, but in a different way. This time, if I manipulate the oversampling control, the audio stops (but without the DC clipping.) I imagine the issues might be related |
Can confirm this happens with both the LV2 and VST3 versions |
Just tried the 1.0 release, that one works |
Thanks for reporting this issue! I can reproduce the bug with the oversampling control. I will look into it. |
At first I suspected an UB issue, but it seems like Valgrind does not detect memory errors in this specific case. I can reproduce the issue when the plugin is built with GCC 13.1.1 and optimizations are enabled. I cannot reproduce the issue when DEBUG=true. I cannot reproduce with Clang either. Also, I cannot reproduce the issue when the plugin is built with CMake instead of the default Makefile! So, I assume this is either related to a compiler flag or some kind of UB that Valgrind is not detecting. |
-ffast-math appears to be causing some issues: #166
Somehow, the issue appears to be caused by the flag I have temporarily added |
More specifically, the issue seems related to
DSPFilters makes use of +-Infs for some of its calculations, so it is not compatible with this compiler flag. wolf-shaper/libs/DSPFilters/include/DspFilters/MathSupplement.h Lines 63 to 66 in d34289f
It would probably make sense to build the plugin with But then, according to some quick tests, |
Running
wolf-shaper-git
from AUR, on the latest version, in Ardour 7 on Linux, and any track that I put wolf shaper on has its volume meter maxed out, and no audio comes thru from any tracks at all. I think for some reason wolf shaper is outputting a constant +1.0 or -1.0 value, which causes all audio to get clipped to the max/minimum. I switch to the non-AUR build which I think is the latest release build, and that one works, so this must have been a fairly recent issue.The text was updated successfully, but these errors were encountered: