Copyright | (c) Stephen Tetley 2013-2015 |
---|---|
License | BSD3 |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Stability | unstable |
Portability | As per dependencies. |
Safe Haskell | None |
Language | Haskell98 |
Pretty print MIDI in format based on the ASCII format in the book Beyond MIDI.
Documentation
putAscii :: MidiFile -> IO () Source
Print the MIDI file to stdout (ASCII format based on output in the book Beyond MIDI).
One event is printed per line, so the output may be large.
printAscii :: MidiFile -> [String] Source
Print the MIDI file to a list of Strings (ASCII format based on output in the book Beyond MIDI).
Results are returned as a list of String to avoid extraneous concatenation.