General

changing controller number

Started by nitefish on .

Sign in or create an account to join the conversation.

5 posts

Topic starter
Bonsoir.
My idea was to change the midi controller number of a knob with a switch:
if switch.x =0,knob drives controller 22,and if switch.x=1,knob now drives controller 23...
I don't have access to this number with the 'setattribute' method.
Any idea?

In advance thank you.
Create two knobs with the desired CC controller (22, 23)

create a script in switch and use the show(object,state) expression - 0 is hidden, 1 is visible to toggle the visibility of the two knobs. If you want them to behave as one/be linked, then add add a script to each knob so that it also sets the other knobs value.

off the top of my head and perhaps there's a better, programmer's way but this gets the job done! ;)
Ok,The "show/hide" solution is the one I need because I don't have to add a script for presets.
I really need two different controls keeping their value on the "hide" position.
One more time,thank you...
Have a nice day.