General
changing controller number
Started by nitefish on .
Sign in or create an account to join the conversation.
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.
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!
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!
Hi
Use a custom midi message under the knob
For the controller value use Switches.x?23:22
This is a shorthand if?then:else ~ if Switches.x =1 val=23 else val = 22
Cheers
MM
Use a custom midi message under the knob
For the controller value use Switches.x?23:22
This is a shorthand if?then:else ~ if Switches.x =1 val=23 else val = 22
Cheers
MM
yeah! two solutions to try on this evening...
thank you.
thank you.
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.
I really need two different controls keeping their value on the "hide" position.
One more time,thank you...
Have a nice day.