Portability | As per dependencies. |
---|---|
Stability | unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Safe Haskell | None |
A top down (Parsec style) MIDI file parser.
For valid input, the parser should parse without error (i.e all cases of event types are fully enumerated). Malformed input (syntactically bad events, or truncated data) will cause fatal parse errors.
Read a MIDI file
Auxiallary types
ParseErr is the position of the error and a message.
Position of the parser in the input stream.
This is exposed by the ReadFile API and may be useful for disassembling a MIDI file that causes a parse failure.