Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Enumerations | Functions
MIDIReadEvent.hpp File Reference
#include <stdint.h>
#include <AH/PrintStream/PrintStream.hpp>
#include <Settings/NamespaceSettings.hpp>
+ Include dependency graph for MIDIReadEvent.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  MIDIReadEvent : uint8_t {
  NO_MESSAGE = 0 , CHANNEL_MESSAGE = 1 , SYSEX_MESSAGE = 2 , REALTIME_MESSAGE = 3 ,
  SYSEX_CHUNK = 4 , SYSCOMMON_MESSAGE = 5
}
 Values returned by the MIDI reading functions. More...
 

Functions

FlashString_t enum_to_string (MIDIReadEvent evt)
 
Print & operator<< (Print &p, MIDIReadEvent evt)
 

Enumeration Type Documentation

◆ MIDIReadEvent

enum class MIDIReadEvent : uint8_t
strong

Values returned by the MIDI reading functions.

Enumerator
NO_MESSAGE 

No new messages were received.

CHANNEL_MESSAGE 

A MIDI Channel message was received.

SYSEX_MESSAGE 

A MIDI System Exclusive message was received.

REALTIME_MESSAGE 

A MIDI Real-Time message was received.

SYSEX_CHUNK 

An incomplete System Exclusive message.

SYSCOMMON_MESSAGE 

A MIDI System Common message was received.

Definition at line 11 of file MIDIReadEvent.hpp.

Function Documentation

◆ enum_to_string()

FlashString_t enum_to_string ( MIDIReadEvent evt)
inline

Definition at line 20 of file MIDIReadEvent.hpp.

◆ operator<<()

Print & operator<< ( Print & p,
MIDIReadEvent evt )
inline

Definition at line 32 of file MIDIReadEvent.hpp.