Skip to content

API > MIDIMessage


MIDIMessage⚓︎

MIDI messages are used by MIDI devices to communicate with each other. MIDIMessage represents a single MIDI message. A MIDI message contains information about the Function, Channel and two data bytes.

Members⚓︎

Properties⚓︎

Name Description
MIDIMessage.ChannelProperty The message’s target channel. [0-15]
MIDIMessage.Data1Property First Data byte. [0-127]
MIDIMessage.Data2Property Second Data byte. [0-127]
MIDIMessage.FunctionProperty The message’s MIDI function.

Constructor⚓︎

Name Description
MIDIMessage(function, channel, data1, data2)Constructor Creates a new MIDI message.
MIDIMessage()Constructor Creates a new MIDI message.