General
Send multiple CC values with one pad?
Started by iPad_User on .
Sign in or create an account to join the conversation.
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.
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.
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.
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.
Thanks for the hint.
So, I need to create an "on expression" script. Right?
So, I need to create an "on expression" script. Right?
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)
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)