MIDIREAD(N) LOCAL MIDIREAD(N)NAME
midiread — tclmidi command to read a MIDI song from a Standard MIDI File
SYNOPSIS
midiread FileID
DESCRIPTION
midiread is a tclmidi(1) command that reads a Standard MIDI File and con‐
verts it to a MIDI song for use by other tclmidi(1) commands.
midiread takes one argument that specifies a file descriptor from which
to read the Standard MIDI File. This argument should be a value returned
by the open(n) tcl command, or ``stdin.''
Since midiread allocates space for the MIDI song, midifree(n) should be
used when the file is no longer needed.
RETURN VALUES
midiread returns a MIDI song descriptor that may be used by other
tclmidi(1) commands.
SEE ALSOtclmidi(1), open(n), midifree(n)AUTHOR
Mike Durian - durian@boogie.com
BSD Januay 30, 1994 BSD