Send multiple CC values with one pad?

Discuss Lemur and share techniques.
Post Reply
iPad_User
Regular
Posts: 50
Joined: 09 Jan 2012 16:57

Send multiple CC values with one pad?

Post 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.
nick_liine
Liine Staff
Posts: 285
Joined: 01 Oct 2010 11:06

Re: Send multiple CC values with one pad?

Post 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.
iPad_User
Regular
Posts: 50
Joined: 09 Jan 2012 16:57

Re: Send multiple CC values with one pad?

Post by iPad_User »

Thanks for the hint.

So, I need to create an "on expression" script. Right?
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Send multiple CC values with one pad?

Post 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)
Post Reply