Modulation Matrix - mode combobox stay empty after dragging a modulator onto a knob
-
@Christoph-Hart
Mode
combobox stay empty after dragging a modulator onto a knob. -
@ustk
I haven't used it myself yet, but if I understand correctly, properties such as “Mode” are only hardcoded for certain things like “gain” modulation. For all other connections, you have to set them in advance usingsetMatrixModulationProperties
.HISE | Scripting | ScriptModulationMatrix
A class that encapsulates the management of complex modulation systems
(docs.hise.dev)
Christoph wrote this in one of my posts:
https://forum.hise.audio/topic/13221/modulation-mode-automatically-set-to-scale/2 -
@Oli-Ullmann oh very interesting indeed! I must look closely to this... The Matrix Modulation is such a beast to get right...
-
@Oli-Ullmann I seem to make it working. I'am doing it in the
ModMatrix.setConnectionCallback
CB, but it appears it should be a one time setting at init, right? No need to do it every time you connect, am I right? -
@ustk
My understanding is that you only need to usesetMatrixModulationProperties
once, for example in onInit, to set up your system. However, I think it can also be used multiple times. I don't know for sure, though, as I haven't reached that stage with my plug-in yet. When I get to that point, I'll let you know if I have any information. :-)Maybe I'll have time to play around with it a bit later this week and I'll let you know if I find anything. :-)
-
@Oli-Ullmann yeah that’s what I did and it works nicely. I presume we can call it in a dynamic parameter assignment system, but if only static, doing it once at onInit seems good enough
-
@ustk
Cool, that's good to know. Thank you! :-) -
U ustk marked this topic as a question
-
U ustk has marked this topic as solved