You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Floating point arithmetic is prone to rounding errors by design as not all values can be represented exactly. The standard behind this is IEEE 754. If you want to know more about this issue, I'd recommend David Goldbergs article "What Every Computer Scientist Should Know About Floating-Point Arithmetic".
In this particular case you've reported however, the issue is caused by improper float to double promotion. The linked PR above will fix the issue. Thanks!
I'm running FluidSynth executable version 2.3.4 on Linux (Manjaro)
After loading a sf2 file if I type in the interactive console:
set synth.chorus.speed 0.1
I get an error:
fluidsynth: error: requested set value for 'synth.chorus.speed' out of range set: Value out of range. Try 'info synth.chorus.speed' for valid ranges
However the minimum value is reported as 0.100
If I set the value to 0.101 it is correctly set.
I am also able to set it at 0.10000009 (and the get will display 0.100 but have no idea if / where conversions or roundings happen)
The text was updated successfully, but these errors were encountered: