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

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

ZMidi.Core.Pretty

Description

Pretty print the MIDI representation.

Synopsis

Documentation

printMidi :: MidiFile -> IO ()Source

Print the MIDI file to std-out.

One event is printed per line, so the output may be huge.

header :: Header -> [String]Source

Print the MIDI header.

Results are returned as a list of String to avoid extraneous concatenation.

track :: Track -> [String]Source

Print a track.

Results are returned as a list of String to avoid extraneous concatenation.