Troubleshooting

Help With Menu Object

Started by davidmolina on .

Sign in or create an account to join the conversation.

5 posts

Topic starter
Hey everyone. I'm not sure if it's possible to do what I want but here it goes.

I would like to have a menu where each option sends a different CC number. Is that possible? I can't seem to find a way to do that. If not then what are the menus for?

Thanks!
You can do that with a script and a custom control out:

Create an expression called cc with an array of cc you wish to send, something like this: {1,2,3,4,5}

Create a script set to on expression selection, and in the script put this
ctlout(0,cc[selection],127,1);
Where 0 is the midi target, cc[selection] the cc you wish to send, 127 the value and 1 the channel.

This should do the trick.
Cheers!
MrCorba
MrCorba wrote:You can do that with a script and a custom control out:

Create an expression called cc with an array of cc you wish to send, something like this: {1,2,3,4,5}

Create a script set to on expression selection, and in the script put this
ctlout(0,cc[selection],127,1);
Where 0 is the midi target, cc[selection] the cc you wish to send, 127 the value and 1 the channel.

This should do the trick.
Cheers!
MrCorba
Sorry but I'm a total noob with scripting. Do I create the script changing the elements you pointed out?

Also, not quite sure how to create the expression called cc?

Thanks for the help!