Drag n Drop Modulation on a panel
-
@Christoph-Hart I'm planning a multi-band UI all on one panel but then it occurred to me that this might be tricky with the drag n drop modulation system. Any thoughts?!
-
@DanH no it's currently limited to knobs / sliders at the moment. what do you mean with multi band UI?
-
@Christoph-Hart Comme ça more or less:
-
@DanH I mean you can manually update the value parameter of a matrix and add/remove connections via scripting but I would recommend adding additional knobs that perform that for you (like ableton does with the EQ8 module).
-
@Christoph-Hart ok cool, we'll look into it
Thanks
-
@Christoph-Hart Ok, and is there a broadcaster we can attach to drag’n’drop? This would allow to temporarily overlay transparent knobs over the panel until the drop is detected
-
@DanH said in Drag n Drop Modulation on a panel:
@Christoph-Hart Comme ça more or less:
I know that this cannot be done with Hise, which allows for active frequency change. This is because when the frequencies of Linkwitz Riley filters are changed, pop and click sounds are happening. Is this fixed?
-
@resonant You are correct, that's why I'm using c++ ones...
-
@DanH is there a reference I can look at on the internet?
-
-
@Christoph-Hart Is there any chance of a callback for dragging out of the modulation source panel? The source selection event is great, however when clicking it displays the available targets for a split second. It might be nice to separate this behaviour so that the targets reveal themselves when dragging and not clicking. It would also help us with this issue
-
Yes, good idea, I'll add a callback that you can attach to the ScriptModulationMatrix which will notify you whenever the drag state change with this function signature:
function(String sourceId, String targetId, bool isPossible)
-
@Christoph-Hart Hi! Did you implement this yet?
And what can we use
ModulationMatrix.set/getConnectionProperty()
for? -
Yes:
HISE | Scripting | ScriptModulationMatrix
A class that encapsulates the management of complex modulation systems
(docs.hise.dev)
ModulationMatrix.set/getConnectionProperty()
can be used to change any property of a connection: intensity, inverted, aux index. If you want to create a custom UI for changing modulation connections this might be a good starting point. -
@Christoph-Hart lovely, thanks!
-
@Christoph-Hart A bit of context.
Thanks to the new CB, we can now drag to a panel, which makes the knobs to appears. It's working nicely.
But since the knobs are now modulated, their respective CBs are called by the modulation, causing the panel to update... Is that normal/intended behaviour?