Drag and drop modulation + modulation arc?
-
Hey there, i was wondering if its possible to setup a drag and drop modulation source, that displays the mod strength with an arc around my dial when routed. (maybe with a mod depth control aswell)?
A lot of synth plugins are using this functionality but it seems extremely complex to me.
-
Again, check the mod matrix tutorial (it‘s also available as snippet directly from the browser). It gives you exactly the tools you need for implementing a complex modulation UI.
-
@Straticah You could probably do it with a draggable panel but I think it might be complicated.
Nice UI!
-
@d-healey okay, i guess there is no beginner friendly example for either drag and drop modulation, or the modulation arc indicator?
If id build everything in scriptnode id use global cable, but id love to keep HISE default mod options.
The UI is from the NI website not mine - (eventho it matches my style well haha)
-
@Straticah it's not so difficult. I used draggable modulation in one of my plugins. I can share a snippet when I'm back on my computer.
-
@Straticah Have a look at the “Modulation Matrix Tutorial” in the example projects. There you will find exactly what you are looking for. Unfortunately, it doesn't work for me. I never got it to work. But basically it is what you are looking for.
-
-
What an interesting challenge ! I had to adapt a lot of things from the code I used in my plugin because I was only allowing the mod wheel to be the modulator, so things were a bit simpler.
I made a quick shot of what I got. I have a few things to test and some comments to add but I'll post a snippet tomorrow :)
-
Yes, with a panel, you can define specific conditions to allow value changes, including the xy of the mouse, thus targeting the modulation ring. This can then be simply increasing the modulator intensity or setting the attribute of a network.
-
Again, check the mod matrix tutorial (it‘s also available as snippet directly from the browser). It gives you exactly the tools you need for implementing a complex modulation UI.
-
So I did all this for nothing ? :grinning_face_with_sweat::grinning_squinting_face:
Just kidding, I'll take a look at the tutorial. I'm sure it's way better but I always have fun when I'm playing around with panels. Here's my take on this:HiseSnippet 5015.3oc27r0aabkdj1d7FxrJwYavtoEs.mHrXIoEEMojr2Dq3DJqK1bikkhj7sUPvcDmCIm0CmYxLCkDytBnnOsu02Zes.8GR2eBKvBrO2+.EX+Gz98ctMm4BonbiccVgDEMmy24b9teaNS1MvqKMLzKnPwRGL1mVn3O1X+wtQCVefosagNaTn3O0Xi.y98MO1gR11yZjiYjsmag6O12LLjZUnXwq9.D1hktVA1O+ku59lNltcowCUnvS8r6Rej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qN5i3nogwi1ZGFt8AFP3GN5gCcgn0848a.mONrfZ92qMpezIV8p8+R6mAIxzyKXnHmK0N8HZefUnOxATv8KTXRWcUw8G54wdYYI05931OxyyeSW7pvaouI6NvLjxa+bhsA11C711DBdFrtiW2WoOYm9tdATdsD5iu9nvHugRBf8spsOD7kkeYwCMtyJMfe5s.96Oec3WKuy2OOeYbi0Z5B+qLy5nf3mnD4np56fQD3XoRw6cTrbpwst5ecG2h28k9aaFEvxG8wiFxuB83kjF+FUfwfhYvkxdtI9Ly.k5Zwd3+A9QLYK74hhIaImTmD+.NI99F6Cw4X8zP7UthOSPKWxCnPDPT.8VNJ3Ncifi+f.S2PrELIbFQGZe.dgKzG7IgTTwdOTiIgSHOyfbm5u7UaADYtqYeynQALUu0XuQcwb+W+G9+2e0OvhNesYSUb5n2aujhuznatdsu5tY9RtuAnROz2gto6ITGOXDDe+IFavqHSNZRc7s8b87G34ZmHhJdoks62mFnSG4RbqEEYpGo7iauG+tqEOzOu8i.kPyfsYEw9Z4zs0k9ilNWY2mXvQWBZXRdqJCaMaYv+2KxCDQP1mwmab2WYjvGZj36J8hCa.9LNvjgZH.mPCh3.yFjmlBjyx5pWqQgh2bZkIb2D4B98lHLGqux32uN9BAiXD90M5OSz6aRT5MUn7ue7HnmGmQt7PYestPDLNE9q7FgeVZF01ugQxuK5KEl+COM++eHarD9NEhkehwtdNi4QEDcuDQh3l+M4jjJTHaIe+9+T6uQ7v+t+89YsSFG3SZ+MiLcxWJ9l0.OQBISyB+mZjnbh29cCKgPZViT7QFo9eR.+UbrhI3XF0Me2JL+zv2+VCgZOq50e3f2efw27N.x91npx2FmwPytAduT74Vi19uGaDftcY+OCoRFaiOSZk8MiNDJY5kc6lbqxrvkdcW3xutKbkW2Ed6W2EdmW2E9KecW3mcwKDqncsQQd7uBH.fs2cStS0hplTV7pE9eA.kljFL
-
@Matt_SF No you can still go crazy with the panels, the idea is to abstract away the underlaying data model and streamline the multiple ways that modulation works into one system.
I probably need to write the full documentation for the
ScriptModulationMatrix
object at some point so that the full feature set becomes clear... -