Skip to main content

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

NameDescription
MIDIMessage.ChannelThe message’s target channel. [0-15]
MIDIMessage.Data1First Data byte. [0-127]
MIDIMessage.Data2Second Data byte. [0-127]
MIDIMessage.FunctionThe message’s MIDI function.

Constructor

NameDescription
MIDIMessage(function, channel, data1, data2)Creates a new MIDI message.
MIDIMessage()Creates a new MIDI message.