Skip to content

MIDI triggers

MIDI Message

Runs when a MIDI device (a music keyboard, pad controller or mixer) sends a message, such as a key press or a knob turn. Turns music gear into hotkeys.

Setting What to put in
Device Which MIDI keyboard or device. Use the name you gave it in the MIDI page. Type Any to react to every device. Starts as: Any.
Event The name of a listener you set up in the MIDI page, for example one for a pad or a knob. Type Any to react to every message from the device. Starts as: Any.

Variables you get

Variable What it holds
%eventName% The name of the listener that matched
%name% The name you gave the device
%commandCode% The kind of message, like NoteOn or ControlChange
%channel% The MIDI channel, 1 to 16
%noteNumber% For notes: the note number, 0 to 127
%noteName% For notes: the note name, like "C4"
%velocity% For notes: how hard the key was hit, 0 to 127
%controllerNumber% For knobs and sliders: which control, 0 to 127
%value% The value: velocity, knob position, or pitch bend
%valueNormal% The same value as a number from 0 to 1

Type id: midi.message