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

Copyright(c) Stephen Tetley 2013
LicenseBSD3
MaintainerStephen Tetley <stephen.tetley@gmail.com>
Stabilityunstable
PortabilityAs per dependencies.
Safe HaskellNone
LanguageHaskell98

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.