#include <MIDI_Interfaces/Wrappers/FortySevenEffects.hpp>
Wrapper class for the FortySevenEffects MIDI parser.
Definition at line 17 of file FortySevenEffects.hpp.
Public Member Functions | |
SysExMessage | getSysExMessage () const |
Get the latest SysEx message. | |
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} |
Private Member Functions | |
template<class MidiInterface > | |
void | updateChannelMessage (const MidiInterface &interface) |
Get the latest channel message from the given MIDI interface. | |
template<class MidiInterface > | |
void | updateSysExMessage (const MidiInterface &interface) |
Get the latest system exclusive message from the given MIDI interface. | |
template<class MidiInterface > | |
void | updateSysCommonMessage (const MidiInterface &interface) |
Get the latest system common message from the given MIDI interface. | |
template<class MidiInterface > | |
void | updateRealTimeMessage (const MidiInterface &interface) |
Get the latest real-time message from the given MIDI interface. | |
Private Attributes | |
SysExMessage | sysex = {nullptr, 0, Cable_1} |
Temporarily saves a pointer to the MIDI parser's SysEx buffer. | |
|
inlineprivate |
Get the latest channel message from the given MIDI interface.
Definition at line 24 of file FortySevenEffects.hpp.
|
inlineprivate |
Get the latest system exclusive message from the given MIDI interface.
Definition at line 34 of file FortySevenEffects.hpp.
|
inlineprivate |
Get the latest system common message from the given MIDI interface.
Definition at line 42 of file FortySevenEffects.hpp.
|
inlineprivate |
Get the latest real-time message from the given MIDI interface.
Definition at line 51 of file FortySevenEffects.hpp.
|
inline |
Get the latest SysEx message.
Definition at line 61 of file FortySevenEffects.hpp.
|
inlineinherited |
Get the latest MIDI channel voice message.
Definition at line 19 of file MIDI_Parser.hpp.
|
inlineinherited |
Get the latest MIDI system common message.
Definition at line 21 of file MIDI_Parser.hpp.
|
inlineinherited |
Get the latest MIDI real-time message.
Definition at line 25 of file MIDI_Parser.hpp.
Check if the given byte is a MIDI header/status byte.
Definition at line 37 of file MIDI_Parser.hpp.
Check if the given byte is a MIDI data byte.
Definition at line 39 of file MIDI_Parser.hpp.
|
private |
Temporarily saves a pointer to the MIDI parser's SysEx buffer.
Definition at line 57 of file FortySevenEffects.hpp.
|
protectedinherited |
Definition at line 32 of file MIDI_Parser.hpp.
|
protectedinherited |
Definition at line 33 of file MIDI_Parser.hpp.