Environment: Siren
A MIDIFileVoice can read version 2 MIDI files.
accessing
tempo
tempo: tem
read/write
load a MIDI file into anEventList.
readMThd
Read the header chunk from MIDI binary file.
readMTrk
Read a track chunk from MIDI binary file. Answer its length.
readOnto: eventList
Read a MIDI file
readTrackOnto: anEventList
Read a track of MIDI events from my stream into anEventList
private
Combine 1 or more input bytes from my stream into a variable length item
initialize-release
Close the stream, device, or whatever.
MetaClass: MIDIFileVoice class
instance creation
examples
MIDIFileVoice midiFileExample