midiplay - play MIDI files
midiplay [-d devno] [-f file] [-l] [-m] [-t tempo] [-v] [-x]
[file ...]
The midiplay command plays MIDI files using the sequencer
device. If no
file name is given it will play from standard input, otherwise it will
play the named files.
The options are as follows:
-d devno
Specifies the number of the MIDI device used for
output (as listed
by the -l flag). The default is device 0.
-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).
-q Do not play the MIDI file, just parse it.
-t tempo
Specifies the tempo. Default is 100.
-v Be verbose. If the flag is repeated the verbosity
increases.
-x Play a small sample sound.
/dev/music MIDI sequencer device
midi(4)
The midiplay command first appeared in NetBSD 1.4.
It may take a long while before playing stops when midiplay
is interrupted
since the sequencer and MIDI buffers will still be emptied.
OpenBSD 3.6 August 12, 1998
[ Back ] |