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
Parent:
1:1c3f0c6ea0fb
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