Midi file parser which stores the data in RAM before making them available for parsing. Please note that this class might need a considerable amount of ram so you might consider to activate the PSRAM. Make sure that you complete all write() calls before starting to call parse() or parseTimed()!
More...
#include <MidiFileParserMultiTrack.h>
|
bool | begin (bool log=true, int bufferSize=MIDI_BUFFER_SIZE) |
| Initializes & starts the processing.
|
|
void | restart () |
| Call this method to restart the parsing with the available data.
|
|
size_t | write (uint8_t c) override |
| Single character write.
|
|
virtual size_t | write (const uint8_t *data, size_t len) |
| Feed/Provide the midi data to the parser.
|
|
int | availableForWrite () |
| Max number of bytes that we can write.
|
|
int | trackCount () |
| Returns the number of recorded tracks.
|
|
midi_parser_state & | parse () |
| Provide the next midi element.
|
|
midi_parser_state & | parseTimed () |
| Provide the next midi element considering the times.
|
|
| operator bool () |
| Returns true as long as we have data to be written or parsed.
|
|
bool | isEmpty () |
| Returns true if there are no midi events.
|
|
size_t | size () |
| Returns the number of available midi events (after writing)
|
|
void | end () |
| Ends the processing: releases all memory.
|
|
void | endWrite () |
|
const char * | midi_status_name (int status) |
| Provides the string description for the midi_status value.
|
|
const char * | midi_file_format_name (int fmt) |
| Provides the string description for the file format.
|
|
const char * | midi_meta_name (int type) |
| Provides the string description for the midi_meta value.
|
|
Midi file parser which stores the data in RAM before making them available for parsing. Please note that this class might need a considerable amount of ram so you might consider to activate the PSRAM. Make sure that you complete all write() calls before starting to call parse() or parseTimed()!
- Author
- Phil Schatzmann
◆ endWrite()
void midi::MidiFileParserMultiTrack::endWrite |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: