SteveC
2017-07-26 16:26:07
Attachments:
david.bleeker
2018-07-06 16:10:08
I have been looking at this tutorial (and many others) and wonder if there is a way to change what the output is.
I would love to use the distinction of 1 – 2- 3 button presses but like to output this as different keystrokes e.g.
if ga==1 then outgoing keystroke= Ctrl(1)
if ga==2 then outgoing keystroke= Ctrl(2)
if ga==then outgoing keystroke= Ctrl(3)
Any pointers how to accomplish this? Or is there a tutorial I have overlooked?
Thanks for any help!
David
PS: I use as input the Arturia Beatstep and output Microsoft MIDI mapper.
Steve-Bome Forum Moderator
2018-07-06 16:56:40
Hi David,
In Bome MIDI Translator you will need a different translator to handle every outgoing keystroke.
What you can do is have one translator that that monitors input and then uses the timer to set a variable as already shown.
The timer output could then instead start another one shot timer to handle the general output. Maybe call it something like “send keystroke”.
Then for every possible keystroke you would send, you set up a separate translator.
In the rules of the translator you look at the variable set by the first timer and if is not the value you want you ignore it. Each translator would look for only their value and only output if it belongs to them. So here is example of different keystrokes for the same incoming timer.
——
Translator : Send 1
Incoming: Timer “Send Keystroke”
——-
Rules:
if ga!=1 then exit rules, skip outgoing action
//
// End of Rules
——-
Outgoing: Physical Key 1
Options: N/A
——
——
Translator : Send 2
Incoming: Timer “Send Keystroke”
——-
Rules:
if ga!=2 then exit rules, skip outgoing action
//
// End of Rules
——-
Outgoing: Pysical Key 2
Options: N/A
——
Does this make sense?
Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz
david.bleeker
2018-07-06 17:53:11
comment
I have a look if I get it to work in that way!
Thank you,
David
Steve-Bome Forum Moderator
2018-07-06 18:37:40
comment
If you have problems, let me know. It should only take me a few minutes to put together a working example for you. Best learning, however is if you do it yourself. I know it will work. I’ve done similar before.
david.bleeker
2018-07-06 20:01:08
Got it working!
One shot timer”Set Value”: 1000ms delay Rules ga=ga+1
Send Keystroke1 Inc trigger: On Timer”Set Value” if ga!=1 then exit rules, skip Outgoing Action
ga=0
Outgoing Action: Keystroke CTRL(1)
Send Keystroke1 Inc trigger: On Timer”Set Value” if ga!=2 then exit rules, skip Outgoing Action
ga=0
Outgoing Action: Keystroke CTRL(2)
Send Keystroke1 Inc trigger: On Timer”Set Value” if ga!=3 then exit rules, skip Outgoing Action
ga=0
Outgoing Action: Keystroke CTRL(2)
Thanks for the help!
David
Attachments:
Steve-Bome Forum Moderator
2018-07-06 20:21:52
comment
Congratulations, I knew you could do it!
Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz