Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
MIDIMessage Struct Reference

#include <message.h>

Public Member Functions

bool isSystemMessage () const
 

Static Public Member Functions

Constructors for certain types of message
static MIDIMessage noteOff (uint8_t channel, uint8_t note, uint8_t velocity)
 
static MIDIMessage noteOn (uint8_t channel, uint8_t note, uint8_t velocity)
 
static MIDIMessage polyphonicAftertouch (uint8_t channel, uint8_t note, uint8_t aftertouch)
 
static MIDIMessage cc (uint8_t channel, uint8_t cc, uint8_t value)
 
static MIDIMessage programChange (uint8_t channel, uint8_t program)
 
static MIDIMessage channelAftertouch (uint8_t channel, uint8_t aftertouch)
 
static MIDIMessage pitchBend (uint8_t channel, uint16_t bend)
 Bend is 14 bits.
 
static MIDIMessage realtimeClock ()
 
static MIDIMessage realtimeStart ()
 
static MIDIMessage realtimeContinue ()
 
static MIDIMessage realtimeStop ()
 
static MIDIMessage systemPositionPointer (uint16_t position)
 

Public Attributes

uint8_t statusType
 Status type. If 0xF, the channel represents the specific system function.
 
uint8_t channel
 Channel, or data field for system function.
 
uint8_t data1
 Optional data byte 1.
 
uint8_t data2
 Optional data byte 2.
 

Detailed Description

Container for a MIDI status message.

See https://michd.me/jottings/midi-message-format-reference/ for a reference on the different status types and MIDI encoding in general.


The documentation for this struct was generated from the following file: