[Class]
midi-file-stream

A subclass of midi-stream that implements input and output to MIDI files. A midi-file-stream is automatically created when you specify a file with a ".midi" or ".mid" extension.

midi-file-stream supports the following slot initializations:

:divisions integer
The number of divisions per quarter note. Defaults to 480.
:tempo number
The MIDI tempo of the file. Defaults to the tempo of 60 bpm.
:timesig (numerator denominator)
The time signature for the file. Defaults to (4 4). The time signature list may contain up to four values: (numerator denominator [clocks-per-quarter] [32nds])

See Also: