Send a second MIDI message using the same key

Victor

2016-08-20 18:31:44

Him

How can I do that when I press a key for second time, it sends a different message than the first time?
Note that I don't want to send 7F and 00 simultaneously. For example, I've created a translator and when press the X key on my keyboard, it sends Ch16-CC0-v127 (BF007F). Now I want that when I press it again, it sends Ch16-CC0-v0 (BF0000)

I know is possible creating a second translator with different key (let's say "Z", for example), but it will have to use two keys instead of one.

Cheers

Victor

2016-08-21 13:53:17

I found out!! and I gonna share it step by step so everybody can do it too!

1) Create a preset and after a translator. Double click for edit it or Ctr+E

2) "Options" tab: Set a name and tick the checkbox of "Stop processing with this translator"

3) "Incoming" tab:
Select the Incoming Trigger type -> Keystroke
Key Press (Down & Up) -> X (in my case)

4) "Rules" tab:
Add Rule -> Expression -> ga=ga+127
Add Rule -> Conditional -> if ga>127 then ga=0

5) "Outgoing" tab:
Select the Outgoing Action type -> MIDI message -> bf 00 ga

Done!
After I've noticed about the variables and the conditionals on the Rule tab, I got the idea of how to make it, and it worked!! It was very intuitive and save me from read the manual haha Don't forget to set the "MIDI Out" to where its directed, (for example, LoopBe or MIDI Yoke) and set to "None" the "MIDI In" for avoid feedback if you're not going to send it to another different.

That's all folks! Hails from Tenerife!

florian

2016-09-03 15:24:18

ha, couldn't explain it better. Thanks for sharing!
Florian