Stop sending notes with a button.

Hi!

When I press the strumbar of the GuitarHero controller, an incoming message 91 79 7F arrives. It emulates two outgoing messages: keystroke "right" and 91 27 60. I need to: when the Red button is pressed (91 7E 7F), pressing the strumbar should only emulate keystroke "right".

Could you help me?

Hi,

In MT Pro, setup a single translator with your incoming MIDI message “Raw 91 79 7F” with outgoing message of none.

Add a translator with incoming raw \"91 27 60 \"for the other message and outgoing keystroke right.

There is no way with MT Pro to suppress the keystroke right for the strum bar. Maybe some other application can.

 

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

As I understand it, the incoming message 91 7E 7F can be assigned the value of the variable.
If variable is not equal to 7e, then the incoming message 91 79 7F emulates two outgoing messages (keystroke “right” and 91 27 60), and if variable is 7e, then only keystroke “right”.
But I do not know how to do this in the form of rules.

Hi, hopefully the following example will work. I assume when you release the button which is 91 7E 7F on push then it sends 91 7E 00. If not, we need to figure out what is sent when the button is released.

It works this way.

The first translator looks at the incoming message 91 7E qq (where qq is the value of 7F for pushed and 0 for released). If pushed the global variable ga is set to a 1, if release, it is set to 0

The second translator monitors for 91 79 7F but there is a rule to only send 91 27 60 if ga=1 (the button in the previous step is pushed)

The third translator unconditionally sends keystroke RIGHT when input 91 79 7F is seen (same incoming trigger but different outgoing action)

I hope this is what you were looking for.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz


Attachments:
1576770866163_stop-sending-notes-with-a-button-2019-12-19.bmtp