Enabling FM problems
-
In one of my projects I use the FM Synthesis
The GUI has a button to "Enable FM", and in it's callback I useEngine.allNotesOff();
however, if the played sound has a long release and I switch to FM, Hise will crash, also the compiled plugin will crash.
How can I "silent" all voices so it will be no active sound when switching FM on/off?
When I switch between FM presets and non FM presets with the built in preset browser, it works, Hise will not crash
-
@ulrik actually it is when switching "Enable FM" off when it crash
-
@ulrik said in [Enabling FM problems]
When I switch between FM presets and non FM presets with the built in preset browser, it works, Hise will not crash
Because I reckon that when you change the preset a allNoteOff is priorly triggered in the background.
Are you sure you call allNoteOff as the first thing ?
Have you tried to use a short timer in between ?
Can you reproduce the issue in a little snippet ? -
@ustk said in Enabling FM problems:
Are you sure you call allNoteOff as the first thing ?
Have you tried to use a short timer in between ?
Can you reproduce the issue in a little snippet ?Yes I'm sure
Yes I've tried with a timer
I'll make a snippet
-