Midi Parser
A simple library that reads and parses binary MIDI files
|
Stores the Midi event along with delta-time. More...
#include <MTrkEvent.h>
Public Member Functions | |
MTrkEvent (const char *filePath, long addr) | |
MTrkEvent (const MTrkEvent &event) | |
~MTrkEvent () | |
const VLQ & | getDeltaTime () const |
const Event * | getEvent () const |
long | getByteLength () const |
Protected Attributes | |
VLQ | deltaTime {} |
Event * | event {} |
long | byteLength {} |
Stores the Midi event along with delta-time.
MTrkEvent::MTrkEvent | ( | const char * | filePath, |
long | addr | ||
) |
MTrkEvent::MTrkEvent | ( | const MTrkEvent & | event | ) |
MTrkEvent::~MTrkEvent | ( | ) |
Destroys the MTrkEvent object
long MTrkEvent::getByteLength | ( | ) | const |
const VLQ & MTrkEvent::getDeltaTime | ( | ) | const |
const Event * MTrkEvent::getEvent | ( | ) | const |