Forum Replies Created
-
AuthorPosts
-
Thanks once again, Atom.
I think I’ll need a bit more hand-holding though as I’m not a programmer at all.
Do these expressions go in the “Expression to evaluate when calculating the modulator value from the midi message value” box? Or do I have to make LUA scripts similar to the one I created to show/hide layers?
Thank you very much, Atom! I greatly appreciate it.
Well I’m stuck. I can’t get it to work – I must be missing something. Would someone please take a look and tell me where I’m going wrong?
There are three layers. The Base layer which is static and two other layers which should be switched depending on whether ID 1 or 2 is selected (ID 0 should switch them both off). The combo box with the script is called Osc1Mode.
Any help would be great.
Attachments:
You must be logged in to view attached files.I updated it in the SVN repo, here is the copy.
Thank you kindly, Atom. That’s perfect.
Just out of interest. Is it possible to use this ‘is component visible’ property of a Modulator to hide/show modulators instead of using layers?
Thanks Atom. I’d greatly appreciate that.
Thanks for your help, guys.
Atom – I checked out the demo panel but the layers are switched from checkboxes not a combo boxes. The function used in the example relies on the component name – layerBlue, layerRed, etc to determine which layer to set visibility. I am not experienced enough to adapt this code to a combo box where I would need to change visibility depending on the value selected within the combo box.
-
AuthorPosts