mrec man page on DragonFly

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

MREC(1)			  BSD General Commands Manual		       MREC(1)

NAME
     mrec — a tclmidi script to record a MIDI file

SYNOPSIS
     mrec [-dev -DevicePath] [-merge] [-thru] [[-repeat] -play play_filename]
	  [-tempo tempo] [rec_filename]

DESCRIPTION
     mrec is a tclmidi(1) script that records a MIDI file while optionally
     simultaneously playing another MIDI file.	If a record filename is not
     specified, the recorded MIDI file will be written to stdout.  By default
     mrec creates a format 0 MIDI file containing the recorded events and any
     meta events found in the optional play file.  The options are as follows:

     -dev -DevicePath
		 Use DeviceName as the device instead of the default
		 /dev/midi0.

     -thru	 If this flag is specified, data arriving at the MIDI IN port
		 will be passed to the MIDI OUT port.  By default, the data is
		 not passed.

     -merge	 With this option, mrec will create a format 1 MIDI file from
		 a combination of the newly recorded events and the tracks
		 contained in the optional play file.  If the play file is a
		 format 0 file, it will be split into a format 1 file.	The
		 recorded events will appear as a new track after all the
		 tracks found in the play file.

     -repeat	 This option specifies that the play file should be repeated
		 until recording is finished.  It is only valid with the -play
		 option.

     -play	 This option specifies that another MIDI file should be played
		 while recording.

     -tempo	 This option specifies the tempo to use for recording.	It is
		 only valid if a play file is not specified.  If a play file
		 is specified, tempos are taken from it instead.  The default
		 tempo is 120 bpm.

     If a play song is specified, a message will be printed saying the file is
     being loaded.  Once loaded, the program will wait for the return key to
     be pressed before beginning to record.  If a play file is specified and
     is not playing in repeat mode, recording will stop when the play file
     ends.  Otherwise, recording stops when a return key is pressed.

     Since mrec makes use of the midirecord(n) tclmidi(1) command, this pro‐
     gram will only work if tclmidi(1) was compiled with a device interface.

SEE ALSO
     tclmidi(1), midirecord(n)

AUTHORS
     Mike Durian - durian@boogie.com

BSD			       February 10, 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