The MIDI Note Output building block is used to generate MIDI Note messages that have a predetermined Note number and Velocity value.
A MIDI Note Output building block has one ON/OFF input and one ON/OFF output. When the input value turns ON, the building block will generate a MIDI NoteOn message then turn its output ON. The building block can be configured to send a MIDI NoteOff message, a MIDI NoteOn message with a velocity value of "0", or do nothing when its input turns OFF.
The MIDI Note Output building block can optionally be configured with a maximum note duration. If the building block is given a maximum duration and its input remains ON for at least that amount of time, then the building block will act as though its input turns OFF when the maximum duration elapses. When the input subsequently turns OFF, no further action is performed.
To configure a MIDI Note Output building block, select a Note, a Velocity value for the MIDI NoteOn message, and an action to perform when the note finishes. If the MIDI NoteOff action is selected, select a Velocity value to be used in the MIDI NoteOff message. If a MIDI message is to be sent when the note finishes, add a maximum note duration by turning on the Max Duration option and entering the desired note duration.
In the example to the right, the MIDI Note Output building block will generate a MIDI NoteOn message with note C5 (note number "60") and a Velocity value of "64" when its input turns ON. When its output turns OFF, it will generate a MIDI NoteOff message with a Velocity value of "64".