Midi Parser
A simple library that reads and parses binary MIDI files
|
Contains data of the meta event. More...
#include <MetaEvent.h>
Public Member Functions | |
MetaEvent ()=default | |
MetaEvent (const char *filePath, long addr) | |
~MetaEvent () override | |
MetaEvent * | clone () const override |
MidiType::EventType | getType () const override |
MidiType::MetaMessageStatus | getStatus () const |
uint8_t | getLength () const |
uint8_t * | getData () const |
Public Member Functions inherited from Event | |
virtual | ~Event ()=default |
uint8_t | getByteLength () const |
Protected Attributes | |
uint8_t | code {} |
uint8_t | status {} |
uint8_t | length {} |
uint8_t * | data {} |
Protected Attributes inherited from Event | |
uint8_t | byteLength {} |
Contains data of the meta event.
Contains data of the Midi meta event and provides methods to retrieve it
|
default |
Default constructor
MetaEvent::MetaEvent | ( | const char * | filePath, |
long | addr | ||
) |
|
override |
Destroys the MetaEvent object
|
overridevirtual |
uint8_t * MetaEvent::getData | ( | ) | const |
Returns the event data
uint8_t MetaEvent::getLength | ( | ) | const |
Returns the event data length
MidiType::MetaMessageStatus MetaEvent::getStatus | ( | ) | const |
Returns the event status
|
overridevirtual |