midi-file-parse
midi-port-parse
Version: 5.2.0.1

Racket MIDI reader

John Clements <clements@racket-lang.org>

 (require (planet clements/midi:1:=1))
This package can read and parse MIDI files written in the "Standard MIDI File" format, also known as "SMF", and usually appearing in files ending with ".mid".
The output of this parser is currently ad-hoc but non-ambiguous; essentially, it’s a classic "list of lists" format.

(midi-file-parse path)  (listof list?)
  path : path-string?
Given a path, parse the file as a standard MIDI file.

(midi-port-parse port)  (listof list?)
  port : port?
Given a port searchable with file-position, parse the content as a standard MIDI file.