MIDIWAIT(N) LOCAL MIDIWAIT(N)NAME
midiwait — tclmidi command to block until playing or recording a MIDI
song finishes
SYNOPSIS
DevID
DESCRIPTION
midiwait is a tclmidi(1) command that blocks until a MIDI song finishes
playing. The argument is a device identifier, as return by a call to
mididevice(n). midiwait only works during recording if a song is also
being played.
RETURN VALUES
midiwait returns 1 if it could successfully stop playing or recording, 0
otherwise.
BUGS
Care should be taken to avoid calling midiwait when a song is playing in
repeat mode.
SEE ALSOtclmidi(1), mididevice(n), midiplay(n), midirecord(n)AUTHOR
Mike Durian - durian@boogie.com
BSD January 30, 1994 BSD