Control Surface new-input
MIDI Control Surface library for Arduino
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
MIDI_Parser Class Reference

#include <MIDI_Parsers/MIDI_Parser.hpp>

Detailed Description

Base class for MIDI parsers.

Definition at line 16 of file MIDI_Parser.hpp.

+ Inheritance diagram for MIDI_Parser:
+ Collaboration diagram for MIDI_Parser:

Public Member Functions

ChannelMessage getChannelMessage () const
 Get the latest MIDI channel voice message.
 
SysCommonMessage getSysCommonMessage () const
 Get the latest MIDI system common message.
 
RealTimeMessage getRealTimeMessage () const
 Get the latest MIDI real-time message.
 

Static Public Member Functions

static bool isStatus (uint8_t data)
 Check if the given byte is a MIDI header/status byte.
 
static bool isData (uint8_t data)
 Check if the given byte is a MIDI data byte.
 

Protected Attributes

MIDIMessage midimsg = {0x00, 0x00, 0x00}
 
RealTimeMessage rtmsg = {0x00}
 

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