DragonFly On-Line Manual Pages

Search: Section:  


MIDIWAIT(N)                            N                           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 ALSO

tclmidi(1), mididevice(n), midiplay(n), midirecord(n)

AUTHOR

Mike Durian - durian@boogie.com DragonFly 6.5-DEVELOPMENT January 30, 1994 DragonFly 6.5-DEVELOPMENT

Search: Section: