MIDISTOP

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
TCLM April 20, 1993  

NAME

midistop - tclm command to stop playing or recording a MIDI file  

SYNOPSIS

process_ID [record_fileId  

DESCRIPTION

] is a tclm command that stops a Standard MIDI File playing in the background.

takes one argument that specifies the process ID of the process playing the Standard MIDI File. This value can be obtained by using the return code of the midiplay(3) or midirecord(3) commands.

also takes an optional argument for use in stopping files being recorded in the background. If record_fileId is specified and process_ID is the process number of a midirecord(3) command, then will put the data from the recording into record_fileId after it has stopped the recording. record_fileId can then be used normally.

will only work on files being played by executing midiplay(3) or midirecord(3) with the bg option.  

RETURN VALUES

returns 1 if it could successfully stop playing the file. It returns 0 if the process ID does not exist.  

SEE ALSO

tclm(1), midiplay(3)  

AUTHORS

Mike Durian - durian@advtech.uswest.com


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
AUTHORS

This document was created by man2html, using the manual pages.
Time: 00:28:07 GMT, March 30, 2022