-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
RC6 plays at least one group of zasfx presets different from previous ver. #4442
Comments
Here is a spectrum -RC6 first. It has to do with vibration, or pulsating, and i have found many more. This is a general zasfx issue |
Do those presets play well in 1.1.3? I can't reproduce the bug with any 1.1~1.2 releases. |
@PhysSong The presets play correctly in RC4, and i suppose everything previous. |
All of the presets in the attached file, has difference. Both on my meager HW and on a win10 highend x64 HW As i wrote, i used RC4 (correct output) v. RC6 (wrong output) |
HI guys, first time here ! Sorry for my bad english ;) Daniele. |
It seems like a locale issue. That's why I failed to reproduce the bug(my locale is This bug seems like a regression in #4244. I suggest this one to handle both diff --git a/plugins/zynaddsubfx/zynaddsubfx/src/Misc/QtXmlWrapper.cpp b/plugins/zynaddsubfx/zynaddsubfx/src/Misc/QtXmlWrapper.cpp
index 3ebc2eeec..ea343c7d9 100644
--- a/plugins/zynaddsubfx/zynaddsubfx/src/Misc/QtXmlWrapper.cpp
+++ b/plugins/zynaddsubfx/zynaddsubfx/src/Misc/QtXmlWrapper.cpp
@@ -505,7 +505,14 @@ float QtXmlWrapper::getparreal(const char *name, float defaultpar) const
return defaultpar;
}
- return QLocale().toFloat( tmp.attribute( "value" ) );
+ // Handle both period-separated and comma-separated values
+ bool ok;
+ float value = QLocale( QLocale::C ).toFloat( tmp.attribute( "value" ), &ok );
+ if( !ok )
+ {
+ value = QLocale( QLocale::German ).toFloat( tmp.attribute( "value" ) );
+ }
+ return value;
}
float QtXmlWrapper::getparreal(const char *name, |
@PhysSong im afraid it is more complicated |
@musikBear That's what I expected. Once those presets are loaded into 1.2.0-RC6/ |
In Qt4, |
I wrote a header file with some helper functions, but I don't know where to include this file. I can find every |
OS : winXP sp3
LMMS RC6
Issue description:
In zasfx we have the Cormi collection
In that collection we have a group named Trillo<>
These FX-presets replayed as randomised beeps -as in a alien cp environment -i guess..
In RC6 this is changed to a continuous sine-wave. The variation over time is gone.
Recreate :
You need need an earlier RC , to hear the correct output -I used RC4. Would be interesting to see if RC5 does it correct or not.
The text was updated successfully, but these errors were encountered: