Class: MidiPacket
The MidiPacket
class encapsulates a MIDI message, including its port, status, and data. It provides utility methods for creating, analyzing, and manipulating MIDI messages.
The source file for this class is located in os/framework/MidiPacket.h
Enumerations
EMidiStatus
Represents MIDI message types. Includes various MIDI commands like NoteOn
, NoteOff
, and SysEx
.
Values:
None
: No status.NoteOff
: Note Off event.NoteOn
: Note On event.AfterTouch
: Aftertouch event.ControlChange
: Control Change event.ProgramChange
: Program Change event.ChannelPressure
: Channel Pressure event.PitchChange
: Pitch Bend Change event.MTCQuarterFrame
: MIDI Time Code Quarter Frame event.SongPosition
: Song Position Pointer event.SongSelect
: Song Select event.TuneRequest
: Tune Request event.Sync
: MIDI Sync event.Tick
: MIDI Tick event.Start
: MIDI Start event.Continue
: MIDI Continue event.Stop
: MIDI Stop event.ActiveSense
: Active Sensing event.Reset
: Reset event.SysExData
: SysEx Data event.SysExEnd
: SysEx End event.
EMidiPortID
Represents MIDI port identifiers.
Values:
MIDI_PORT_EACH_CLASS
: Default MIDI out mode, sends to the first port of each class.MIDI_PORT_ALL
: Send to all ports.MIDI_PORT_USB
: USB MIDI port.MIDI_PORT_PHYSICAL
: Physical MIDI port.MIDI_PORT_BLUETOOTH
: Bluetooth MIDI port.MIDI_PORT_WIRELESS
: Wireless MIDI port.MIDI_PORT_RTP
: Real-Time Protocol (RTP) MIDI port.MIDI_PORT_DEVICE_CUSTOM
: Custom device MIDI port.MIDI_PORT_SYNTH
: Synthesizer MIDI port.MIDI_PORT_INVALID
: Invalid MIDI port.