hidden-markov-music.midi
Functions pertaining to reading, writing, and transforming MIDI files
parse-midi-events
(parse-midi-events events)
Extracts the useful information from a sequence of midi events. Combines note-on/note-off events into a single event, which plays the note for the duration of time between the two events.
time-elapsed
(time-elapsed next-event prev-event)
Returns the time difference between two events.