Page 1 of 1

Send multiple CC values with one pad?

Posted: 05 Feb 2014 23:08
by iPad_User
Hey,

I'm in designing a "workstation-preset" for Apple Mainstage.
What I need is a "reset to default" button, that resets everything I did tweak in the Mainstage template (flatten the EQ, reset the compressor, bypass all FX, etc.). How do I do this?
It's about 40 CCs at one go. Some I need to set to zero, some to 64.

Thanks in advance for your help.

Chris.

Re: Send multiple CC values with one pad?

Posted: 06 Feb 2014 11:55
by nick_liine
What you're looking for is the ctlout() scripting function.

From p. 131 of the Lemur User Guide:

ctlout(target,ctrl,val,chan)
outputs a Control Change MIDI message with specified Target, Controller number, value and channel.

Re: Send multiple CC values with one pad?

Posted: 06 Feb 2014 13:40
by iPad_User
Thanks for the hint.

So, I need to create an "on expression" script. Right?

Re: Send multiple CC values with one pad?

Posted: 06 Feb 2014 14:10
by Softcore
Yup, most likely, you'll use a Pad object, name it "Reset" or something...

Then add the function mentioned above in a script residing in that pad and set to execute on expression x, up arrow (as opposed to "any", so that it triggers when the Pad is pressed, but not when the Pad is released which would result in seding the messages twice)