Sending Individual MIDI Messages

You can work with individual MIDI messages by using the following functions.

Value Meaning
midiOutLongMsg Sends a buffer of MIDI data to the specified MIDI output device. Use this function to send system-exclusive messages to a MIDI device.
midiOutReset Turns off all notes on all channels for a specified MIDI output device. Any pending system-exclusive buffers and stream buffers are marked as done and returned to the application.
midiOutShortMsg Sends a MIDI message to a specified MIDI output device.

 

To send any MIDI message (except for system-exclusive messages), use midiOutShortMsg.