Please find the attached project file. It has 6 translators
0.0 - Incoming MIDI Note 0 In - Increments the value of ga and wraps around
0.1 -Incoming MIDI note 1 In - Decrements the value of ga and wraps around
0.2 - Incoming MIDI Note 0 or 1 (See rules) Outputs 1 when ga==0
0.3 - Incoming MIDI Note 0 or 1 (See rules) Outputs 2 when ga==1
0.4 - Incoming MIDI Note 0 or 1 (See rules) Outputs 3 when ga==2
0.5 - Incoming MIDI Note 0 or 1 (See rules) Outputs 4 when ga==3
I have an alias setup as follows:
You can learn more about aliases from this tutorial.
Check "Incoming, Outgoing, and MIDI IN in the Log Window
Open Notepad or another editor (make sure it stays selected)
Push buttons
If you see no MIDI In then you will need to fix your alias as shown in the animation. If you see incoming MIDI but no Incoming Message, then you will need to fix the incoming MIDI messages that you are sending or change the incoming trigger for those messages in the translator.
Notepad (or anything besides Bome MIDI Translator Pro) must be focused in order for your target application to receive keystrokes. If it is not, you will see a message like âKeyStroke Suppressedâ in the Log Window.
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz
I have done everything, checked and double checked. I clearly donât understand this very well sorry.
I have incoming midi, messages and the translators showing in the log but no outgoing keystroke.
1: MIDI IN [Trigger Finger Pro MIDI]: 90 19 5D
2: IN 0.2 Note On on ch. 1 with any note set âppâ to note=25 with any velocity=93
3: IN 0.3 Note On on ch. 1 with any note set âppâ to note=25 with any velocity=93
4: IN 0.4 Note On on ch. 1 with any note set âppâ to note=25 with any velocity=93
5: IN 0.5 Note On on ch. 1 with any note set âppâ to note=25 with any velocity=93
6: MIDI IN [Trigger Finger Pro MIDI]: 80 19 00
When I try with my original pre-set I get an outgoing keystroke but as mentioned no relation with up and down.
1: MIDI IN [Trigger Finger Pro MIDI]: 90 18 3D
2: IN 0.0 Note On on ch. 1 with note:24 (0x18) and any velocity=61
3: IN 0.1 Note On on ch. 1 with note:24 (0x18) and any velocity=61
4: OUT 0.1 Text: 1 : keystroke suppressed (main window active)
5: MIDI IN [Trigger Finger Pro MIDI]: 80 18 00
As you said I will get the suppressed keystroke message unless my target application is focused, works ok in target application too.
OK, I had limited the input notes to note 0 and 1. Now I will look at all notes by commenting out this line on the key out translators.
//if pp>1 then exit rules, skip Outgoing Action
You might want to add rules like this if you only one notes 24 and 25 to output keystrokes.
if pp<24 then exit rules, skip outgoing action
if pp>25 then exit rules, skip outgoing action
I also added a translator to focus on the notepad translator, then set a key delay of 20ms on each keystroke output to give time for the notepad application to get focus.