version 1.8, 2001/08/17 11:13:58 |
version 1.9, 2005/03/11 22:54:06 |
|
|
.Nd play MIDI files |
.Nd play MIDI files |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm midiplay |
.Nm midiplay |
|
.Op Fl lmqvx |
.Op Fl d Ar devno |
.Op Fl d Ar devno |
.Op Fl f Ar file |
.Op Fl f Ar file |
.Op Fl l |
|
.Op Fl m |
|
.Op Fl t Ar tempo |
.Op Fl t Ar tempo |
.Op Fl v |
|
.Op Fl x |
|
.Op Ar file ... |
.Op Ar file ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm |
.Nm |
command plays MIDI files using the sequencer device. |
command plays MIDI files using the sequencer device. |
If no file name is given it will play from standard input, otherwise |
If no file name is given it will play from standard input; |
it will play the named files. |
otherwise it will play the named files. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width "-d devnoXX" |
.It Fl d Ar devno |
.It Fl d Ar devno |
Specifies the number of the MIDI device used for output (as listed |
Specifies the number of the MIDI device used for output (as listed |
by the |
by the |
|
|
.It Fl l |
.It Fl l |
List the possible devices without playing anything. |
List the possible devices without playing anything. |
.It Fl m |
.It Fl m |
Show MIDI file meta events (copyright, lyrics, etc). |
Show MIDI file meta events (copyright, lyrics, etc.). |
.It Fl q |
.It Fl q |
Do not play the MIDI file, just parse it. |
Do not play the MIDI file, just parse it. |
.It Fl t Ar tempo |
.It Fl t Ar tempo |
|
|
Default is 100. |
Default is 100. |
.It Fl v |
.It Fl v |
Be verbose. |
Be verbose. |
If the flag is repeated the verbosity increases. |
If the flag is repeated, the verbosity increases. |
.It Fl x |
.It Fl x |
Play a small sample sound. |
Play a small sample sound. |
.El |
.El |