cawhitworth
2010-04-09 10:18:25
Hi;
I'd like to set up a bunch of rules such that a pair of MIDI pads (that currently send CC messages, but what they send is broadly irrelevant) send Ctrl+[number], where one pad decrements the number and the other pad increments it. An example:
Pad 0: Ctrl+0
Pad 0: Ctrl+1
Pad 0: Ctrl+2
Pad 1: Ctrl+1
Pad 1: Ctrl+0
At the moment, I've done this by setting up translators on Pad 0 and 1 to increment/decrement a global variable, and then another set of translators on the same pads that send ctrl+[number] if the global variable is equal to that number, ie:
if g0 != 1 then exit rules, skip outgoing action
The thing is, this means I've got 22 rules to achieve this relatively simple operation, which seems like a lot. Is there any way to do this more simply?
I'd like to set up a bunch of rules such that a pair of MIDI pads (that currently send CC messages, but what they send is broadly irrelevant) send Ctrl+[number], where one pad decrements the number and the other pad increments it. An example:
Pad 0: Ctrl+0
Pad 0: Ctrl+1
Pad 0: Ctrl+2
Pad 1: Ctrl+1
Pad 1: Ctrl+0
At the moment, I've done this by setting up translators on Pad 0 and 1 to increment/decrement a global variable, and then another set of translators on the same pads that send ctrl+[number] if the global variable is equal to that number, ie:
if g0 != 1 then exit rules, skip outgoing action
The thing is, this means I've got 22 rules to achieve this relatively simple operation, which seems like a lot. Is there any way to do this more simply?