DragonFly On-Line Manual Pages
MIDITRACK(N) N MIDITRACK(N)
NAME
miditrack - tclmidi command to get information about a MIDI track
SYNOPSIS
miditrack mfileId track {start|end}
DESCRIPTION
miditrack is a tclmidi(1) command that gets information about a MIDI
track. Currently two types of information can be obtained. These are
the time of the first event found in the track, and the time of the last
event in the track. The time of the last event in the track might be
different than that returned by a call to midiget getting the last event
in a track. This is because midiget returns NoteOn/NoteOff event pairs
as a single Note event, and the Note event contains the time of the
NoteOn event. miditrack will return the time of the last event in a file
including NoteOff halves of Note events.
The first argument to miditrack is a MIDI song identifier. The second
argument is a track number of that song, and the last argument is one of
either "start" or "end".
RETURN VALUES
miditrack returns the time of the first or last event in a track for the
start and end options.
NOTES
miditrack might be expanded in the future to supply other types of
information about MIDI tracks.
SEE ALSO
tclmidi(1), midiget(n)
AUTHOR
Mike Durian - durian@boogie.com
DragonFly 6.5-DEVELOPMENT June 22, 1994 DragonFly 6.5-DEVELOPMENT