zmidi-core-0.7.0: Read and write MIDI files.

PortabilityAs per dependencies.
Stabilityunstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>
Safe HaskellNone

ZMidi.Core.Pretty.Ascii

Description

Pretty print MIDI in format based on the ASCII format in the book Beyond MIDI.

Synopsis

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.