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.Csv

Description

Pretty print MIDI to CVS format based on midicsv.

Synopsis

Documentation

putCsv :: MidiFile -> IO ()Source

Print the MIDI file to stdout (CSV format).

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

printCsv :: MidiFile -> [String]Source

Print the MIDI file to a list of Strings (CSV format).

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