How to hold down keys until note lifted

In order to press a key when a note is pressed, and hold the key down until the note is lifted again, you will have to create two separate translations. The first translation will have to turn the Note On MIDI event into a key down output action, while the second translation will have to turn the Note Off MIDI event into the key up output action.

The Note On translation

The first translation is quite straight-forward. Simply create a translation, click the left-hand input button to record your input MIDI note, and then click the right-hand output button to record your ouput key. Next, open the advanced translation settings by clicking the arrow button on the¬†left side of the translation, and in the right column, set the key’s stroke type to “Down”.

 

 

The Note Off Translation

 

The second translation will require the same input MIDI note and output key to be configured. The easiest way to do this is to click the “Clone” button in the advanced settings of the previous translation that we just configured. Once you have the translation configured with the same input MIDI note and output key, open the advanced settings of the translation. In the left column, enable the “Velocity Range” checkbox. This will allow you to specify the velocity range of 0 to 0, which will mean that this translation will only execute when the note is released. Finally, just like before, the key’s stroke type has to be changed too. This time to stroke type has to be set to “Up”.