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
#7727 added voice parameters to the Formula modulator and for this reason the active voice counter is stored as an int in SurgeStorage here from which the voice count is updated inside the valueAt() function in FormulaModulationHelper.cpp here.
Ideally, this value should be retrieved directly from the atomic int polydisplay in the SurgeSynthesizer class similar to how it's being used by SurgeGUIEditor.cpp here, either also as an atomic int or some other type, if the same polydisp is used it should probably also be renamed as it would no longer be used to only display a value on the GUI.
The text was updated successfully, but these errors were encountered:
remove polydisp all together and fix the code to use storage->voiceCount
problem solved
its a bit gross. the voice count is really part of the synth not the storage. but the lfos don't have synth access so this cheat is the more practical thing I think.
#7727 added voice parameters to the Formula modulator and for this reason the active voice counter is stored as an int in SurgeStorage here from which the voice count is updated inside the valueAt() function in FormulaModulationHelper.cpp here.
Ideally, this value should be retrieved directly from the atomic int
polydisplay
in the SurgeSynthesizer class similar to how it's being used by SurgeGUIEditor.cpp here, either also as an atomic int or some other type, if the samepolydisp
is used it should probably also be renamed as it would no longer be used to only display a value on the GUI.The text was updated successfully, but these errors were encountered: