Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
MIDI_MessageTypes.cpp
Go to the documentation of this file.
2#include "Settings/NamespaceSettings.hpp"
3
5
7 using M = MIDIMessageType;
8 switch (m) {
9 case M::None: return F("None");
10 case M::NoteOff: return F("NoteOff");
11 case M::NoteOn: return F("NoteOn");
12 case M::KeyPressure: return F("KeyPressure");
13 case M::ControlChange: return F("ControlChange");
14 case M::ProgramChange: return F("ProgramChange");
15 case M::ChannelPressure: return F("ChannelPressure");
16 case M::PitchBend: return F("PitchBend");
17 case M::SysExStart: return F("SysExStart");
18 case M::MTCQuarterFrame: return F("MTCQuarterFrame");
19 case M::SongPositionPointer: return F("SongPositionPointer");
20 case M::SongSelect: return F("SongSelect");
21 case M::UndefinedSysCommon1: return F("UndefinedSysCommon1");
22 case M::UndefinedSysCommon2: return F("UndefinedSysCommon2");
23 case M::TuneRequest: return F("TuneRequest");
24 case M::SysExEnd: return F("SysExEnd");
25 case M::TimingClock: return F("TimingClock");
26 case M::UndefinedRealTime1: return F("UndefinedRealTime1");
27 case M::Start: return F("Start");
28 case M::Continue: return F("Continue");
29 case M::Stop: return F("Stop");
30 case M::UndefinedRealTime2: return F("UndefinedRealTime2");
31 case M::ActiveSensing: return F("ActiveSensing");
32 case M::SystemReset: return F("SystemReset");
33 default: return F("<invalid>");
34 }
35}
36
std::remove_reference< decltype(*F(""))>::type * FlashString_t
FlashString_t enum_to_string(MIDIMessageType m)
MIDIMessageType
All possible MIDI status byte values (without channel).
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE