midirec man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

MIDIRECORD(N)			     LOCAL			 MIDIRECORD(N)

NAME
     midirecord — tclmidi command to record a MIDI song

SYNOPSIS
     midirecord DevID RecMidiID [PlayMidiID [repeat]]

DESCRIPTION
     midirecord is a tclmidi(1) command that records events from a MIDI device
     and puts them in a MIDI song.

     The first argument to midirecord is a MIDI device identifier as returned
     from a call to mididevice(n).  The second argument is the MIDI song
     descriptor of the record song.  It should be one returned from
     midimake(n) or midiread(n).  The third argument is an optional MIDI song
     descriptor for a song that should be played while recording.  Further‐
     more, an optional fourth argument of “repeat” may be specified so the
     play song will be repeated.

     Recording continues until the midistop(n) command is issued.  midiwait(n)
     may be used to block until the play song finishes.

     All recorded events are put into track 0 of the MIDI song.

RETURN VALUES
     midirecord returns immediately with 0 if no MIDI devices are available,
     or 1 if one is.

BUGS
     The MPU-401 device interface dynamically creates events in the record
     MIDI song asynchronously.	Since this involves a call to malloc(3) which
     is not re-entrant, this is a potential hazard.  Until I figure out a way
     around this, avoid other calls to malloc(3) while recording.  The current
     TCL signal synchronizing commands found are not adequate for this task.

SEE ALSO
     tclm(1), mididevice(n), midiplay(n), midiread(n), midimake(n),
     midistop(n), midiwait(n)

AUTHOR
     Mike Durian - durian@boogie.com

BSD			       January 30, 1994				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net