GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MIDIREC (n)

NAME

midirecord - tclmidi command to record a MIDI song

CONTENTS

Synopsis
Description
Return Values
Bugs
See Also
Author

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. Furthermore, 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
Search for    or go to Top of page |  Section n |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.