Not sure if this is possible: determining increase/decrease

OiMutz

2008-06-05 08:07:03

I need one key to be output if the CC message increases in value, and a different key output if the same CC message decreases in value. I'm guessing somehow the previous input would have to be stored as a value for comparison.

thanks,
OiMutz

Tuur

2008-06-05 16:50:19

This should do the job (using CC #1)...

Code: Select all

Translator 1: CC up
Options: stop=false
Incoming: MIDI B0 01 pp 
Rules: 
  if pp<g1 then exit rules, skip Outgoing Action
  g1=pp
Outgoing: Keystroke: UP 

Translator 2: CC down
Options: stop=false
Incoming: MIDI B0 01 pp 
Rules: 
  if pp>g1 then exit rules, skip Outgoing Action
  g1=pp
Outgoing: Keystroke: DOWN 

OiMutz

2008-06-05 23:46:45

That works great, thanks. I added a line so that the max and min values continue to send (when I'm turning the infinite rotary knob on my BCR2000).

Translator 1: CC up
Options: stop=false
Incoming: MIDI B0 01 pp
Rules:
if pp<g1 then exit rules, skip Outgoing Action
if pp==0 then exit rules, skip Outgoing Action
g1=pp
Outgoing: Keystroke: UP

Translator 2: CC down
Options: stop=false
Incoming: MIDI B0 01 pp
Rules:
if pp>g1 then exit rules, skip Outgoing Action
g1=pp
Outgoing: Keystroke: DOWN

Tuur

2008-06-06 10:02:08

OiMutz wrote:That works great, thanks.
No prob. :)