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!
Help With Menu Object
Re: Help With Menu Object
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
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
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
Code: Select all
ctlout(0,cc[selection],127,1);
This should do the trick.
Cheers!
MrCorba
"Having no silence in music is like having no black or white in a painting" - Brian Eno
https://soundcloud.com/mrcorba
https://soundcloud.com/mrcorba
-
- Newbie
- Posts: 6
- Joined: 10 Nov 2015 05:25
Re: Help With Menu Object
Sorry but I'm a total noob with scripting. Do I create the script changing the elements you pointed out?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 thisWhere 0 is the midi target, cc[selection] the cc you wish to send, 127 the value and 1 the channel.Code: Select all
ctlout(0,cc[selection],127,1);
This should do the trick.
Cheers!
MrCorba
Also, not quite sure how to create the expression called cc?
Thanks for the help!
-
- Newbie
- Posts: 6
- Joined: 10 Nov 2015 05:25
Re: Help With Menu Object
Actually just found out how to create an expression. The only thing I'm a little confused with is how to name it. Should I create an expression for each menu item?
-
- Newbie
- Posts: 6
- Joined: 10 Nov 2015 05:25
Re: Help With Menu Object
Does this look right?
- Attachments
-
- Screen Shot 2015-11-10 at 4.35.04 PM.png (144.53 KiB) Viewed 2977 times