Control Surface  1.2.0
MIDI Control Surface library for Arduino
Classes | Enumerations
MIDI_MessageTypes.hpp File Reference
#include <AH/Settings/Warnings.hpp>
#include <Settings/NamespaceSettings.hpp>
#include <stddef.h>
#include <stdint.h>
#include <Def/Channel.hpp>
#include <Def/Cable.hpp>
+ Include dependency graph for MIDI_MessageTypes.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ChannelMessage
 
struct  SysExMessage
 
struct  RealTimeMessage
 

Enumerations

enum  MIDIMessageType : uint8_t {
  NOTE_OFF = 0x80, NOTE_ON = 0x90, KEY_PRESSURE = 0xA0, CC = 0xB0,
  CONTROL_CHANGE = CC, PROGRAM_CHANGE = 0xC0, CHANNEL_PRESSURE = 0xD0, PITCH_BEND = 0xE0,
  SYSEX_START = 0xF0, SYSEX_END = 0xF7, TUNE_REQUEST = 0xF6, TIMING_CLOCK = 0xF8,
  UNDEFINED_REALTIME_1 = 0xF9, START = 0xFA, CONTINUE = 0xFB, STOP = 0xFC,
  UNDEFINED_REALTIME_2 = 0xFD, ACTIVE_SENSING = 0xFE, RESET = 0xFF
}
 
enum  MIDICodeIndexNumber : uint8_t {
  MISC_FUNCTION_CODES = 0x0, CABLE_EVENTS = 0x1, SYSTEM_COMMON_2B = 0x2, SYSTEM_COMMON_3B = 0x3,
  SYSEX_START_CONT = 0x4, SYSTEM_COMMON_1B = 0x5, SYSEX_END_1B = 0x5, SYSEX_END_2B = 0x6,
  SYSEX_END_3B = 0x7, NOTE_OFF = 0x8, NOTE_ON = 0x9, KEY_PRESSURE = 0xA,
  CONTROL_CHANGE = 0xB, PROGRAM_CHANGE = 0xC, CHANNEL_PRESSURE = 0xD, PITCH_BEND = 0xE,
  SINGLE_BYTE = 0xF
}
 See table 4-1 in https://usb.org/sites/default/files/midi10.pdf. More...
 

Enumeration Type Documentation

◆ MIDIMessageType

enum MIDIMessageType : uint8_t
strong
Enumerator
NOTE_OFF 
NOTE_ON 
KEY_PRESSURE 
CC 
CONTROL_CHANGE 
PROGRAM_CHANGE 
CHANNEL_PRESSURE 
PITCH_BEND 
SYSEX_START 
SYSEX_END 
TUNE_REQUEST 
TIMING_CLOCK 
UNDEFINED_REALTIME_1 
START 
CONTINUE 
STOP 
UNDEFINED_REALTIME_2 
ACTIVE_SENSING 
RESET 

Definition at line 21 of file MIDI_MessageTypes.hpp.

◆ MIDICodeIndexNumber

enum MIDICodeIndexNumber : uint8_t
strong

See table 4-1 in https://usb.org/sites/default/files/midi10.pdf.

Enumerator
MISC_FUNCTION_CODES 
CABLE_EVENTS 
SYSTEM_COMMON_2B 
SYSTEM_COMMON_3B 
SYSEX_START_CONT 
SYSTEM_COMMON_1B 
SYSEX_END_1B 
SYSEX_END_2B 
SYSEX_END_3B 
NOTE_OFF 
NOTE_ON 
KEY_PRESSURE 
CONTROL_CHANGE 
PROGRAM_CHANGE 
CHANNEL_PRESSURE 
PITCH_BEND 
SINGLE_BYTE 

Definition at line 48 of file MIDI_MessageTypes.hpp.