SYNOPSISsmfrec [-amxy] [-g measure ] [-d devname ] [-i devname ] midifile
DESCRIPTIONThe smfrec utility records a MIDI file. It can add recorded events on top of an existing midi file. To stop performance, send an interrupt signal to smfrec (for instance by pressing control ^C on the terminal). The options are as follows:
- Append mode. Play the given midi file and append to it a new track containing recorded events.
- Use metronome.
- Synchronise to the default midi(4) device instead of using an internal clock source.
- Send midi timing information to the default device. Useful if it is a slave MIDI sequencer.
- -g measure
- Start playback and recording at the given measure number.
- -d filename
- Default midi(4) device from which to record and on which to send midi events. If not specified, the content of the MIDIDEV environment variable will be used instead.
- -i filename
- Alternate input midi(4) device. Voice events (notes, controllers, etc) received on the input device will be recorded and sent as-is to the default device. Without this flag, the default device will be used for input.
EXAMPLESThe following will play mysong.mid and append to it recorded events from device /dev/rmidi4 metronome will be used.
$ smfrec -a -m -d /dev/rmidi4 mysong.mid