Slow setEffect() with multiple Macro assignments
-
I'm dynamically changing the hardcoded master FX networks using SlotFX.setEffect().
When multiple controls are linked to a macro modulator, calling SlotFX.setEffect() becomes slow and causes a significant increase in CPU usage (even when the controls are not related to the FX).
Clarification: I tried removing the macros before changing the effect and then reapplying them using getMacroDataObject() and setMacroDataFromObject(), but this approach turned out to be quite buggy.
Does anyone have suggestions on how to fix this? This happens in both HISE and the compiled plugin.
Another interesting observation: switching the network from the HISE interface works smoothly, so the issue might be related to SlotFX.setEffect()
-
@bendurso Fixed. The problem was actually caused by my filters script, which overloaded the system with macros.
-
B bendurso marked this topic as a question
-
B bendurso has marked this topic as solved