RADLib
RADical C++ application framework
RADMedia::MidiMessage Struct Reference

One decoded real-time MIDI message read from an input device. More...

#include <RADMedia.h>

Public Attributes

MidiMessageType type = MidiMessageType::Other
 Decoded message type. More...
 
uint8_t channel = 0
 MIDI channel, 0-15 for channel messages. More...
 
uint8_t data1 = 0
 First data byte, commonly note/controller/program. More...
 
uint8_t data2 = 0
 Second data byte, commonly velocity/controller value. More...
 
uint8_t status = 0
 Raw status byte. More...
 

Detailed Description

One decoded real-time MIDI message read from an input device.

Member Data Documentation

◆ channel

uint8_t RADMedia::MidiMessage::channel = 0

MIDI channel, 0-15 for channel messages.

◆ data1

uint8_t RADMedia::MidiMessage::data1 = 0

First data byte, commonly note/controller/program.

◆ data2

uint8_t RADMedia::MidiMessage::data2 = 0

Second data byte, commonly velocity/controller value.

◆ status

uint8_t RADMedia::MidiMessage::status = 0

Raw status byte.

◆ type

MidiMessageType RADMedia::MidiMessage::type = MidiMessageType::Other

Decoded message type.


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