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.
changing controller number
Re: changing controller number
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!
Re: changing controller number
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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: changing controller number
yeah! two solutions to try on this evening...
thank you.
thank you.
Re: changing controller number
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.