Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 2.05 KB

sending-individual-midi-messages.md

File metadata and controls

38 lines (27 loc) · 2.05 KB
title description ms.assetid keywords ms.topic ms.date
Sending Individual MIDI Messages
Sending Individual MIDI Messages
9e5b7194-d6d0-40a6-b8c1-ea9442f34bd8
Musical Instrument Digital Interface (MIDI),sending messages
MIDI (Musical Instrument Digital Interface),sending messages
playing MIDI files,sending messages
sending MIDI messages
Musical Instrument Digital Interface (MIDI),individual messages
MIDI (Musical Instrument Digital Interface),individual messages
playing MIDI files,individual messages
individual MIDI messages
article
05/31/2018

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.