A class that converts byte streams into MIDI messages, and stores them in a FIFO. This is useful if you wish to read MIDI messages via polling instead of interrupts. The class supports every type of MIDI message, and System Realtime messages can be interleaved with regular ones.
Revision 2:cbd43ba7f842, committed 2016-08-04
- Comitter:
- Padman
- Date:
- Thu Aug 04 12:15:36 2016 +0000
- Parent:
- 1:1c3f0c6ea0fb
- Commit message:
- Further API documentation
Changed in this revision
MIDIparser.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 1c3f0c6ea0fb -r cbd43ba7f842 MIDIparser.h --- a/MIDIparser.h Thu Aug 04 12:02:12 2016 +0000 +++ b/MIDIparser.h Thu Aug 04 12:15:36 2016 +0000 @@ -27,7 +27,7 @@ #include "MyBuffer.h" #include <queue> -/** +/** A parser that accepts bytes and outputs MIDI messages * * Example: * @code @@ -69,6 +69,8 @@ public: + /** Create a parser and allocate input/output buffers + */ MIDIparser(); /** Input a byte to the parser