MIDIPLAY(1) NetBSD General Commands Manual MIDIPLAY(1)
NAME
midiplay -- play MIDI and RMID files
SYNOPSIS
midiplay [-d devno] [-f file] [-l] [-m] [-p pgm] [-q] [-t tempo] [-v] [-x] [file ...]
DESCRIPTION
The midiplay command plays MIDI and RMID files using the sequencer device. If no file name is given it will play from standard input, oth- erwise it will play the named files. RMID files are Standard MIDI Files embedded in a RIFF container and can usually be found with the `rmi' extension. They contain some additionnal information in other chunks which are not parsed by midiplay yet. The program accepts the following options: -d devno specifies the number of the MIDI device used for output (as listed by the -l flag). The default is device is given by environment variable MIDIUNIT. -f file specifies the name of the sequencer device. -l list the possible devices without playing anything. -m show MIDI file meta events (copyright, lyrics, etc). -p pgm use only this program (range 1-128) for all channels. -q specifies that the MIDI file should not be played, just parsed. -t tempo specifies the tempo. The default tempo is 100. -v be verbose. If the flag is repeated the verbosity increases. -x play a small sample sound instead of the a file.
ENVIRONMENT
MIDIUNIT the default number of the MIDI device used for output. The default is 0.
FILES
/dev/music MIDI sequencer device
SEE ALSO
midi(4)
HISTORY
The midiplay command first appeared in NetBSD 1.4.
BUGS
It may take a long while before playing stops when midiplay is inter- rupted since the sequencer and MIDI buffers will still be emptied. NetBSD 3.0.2 February 17, 2003 NetBSD 3.0.2
Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.