Updating matrixTargetId attribute on a knob - results in modulation not being visible
-
This is a bit complicated to explain. But basically.... I have a bunch of hardcoded effects. At initialisation, I create knobs in my UI.
I have a menu that loads an effect to the particular Hardcoded Master FX slot in question. When this happens, I assign the processorId and parameterId to the correct ones, and I update the matrixTargetId.
If I do this .... then my modulation for that parameter works audibly. But the UI animation, hover states, and modulation indicator completely break and stop working.
Now..... if I set the matrixTargetId when creating the parameter, and then NEVER update it...... it works fine.
I know this is a bit hard to get your head around, and maybe I'll try and make a minimal example. But as a fundamental question, do you support updating the matrix targetId parameter??
-
@Orvillain
Maybe I'm wrong, but since we have to recompile for thematrixTargetIdto work, I can't imagine that it can be set “on the fly.”That's why I reset my buttons as soon as I load a new effect...
-
@Oli-Ullmann Yes I think you're correct. I checked the docs and there is a line about it not meant to be a dynamic state.