Annotation of src/usr.bin/midiplay/midiplay.1, Revision 1.7
1.7 ! aaron 1: .\" $OpenBSD: midiplay.1,v 1.6 2000/07/06 04:06:55 aaron Exp $
1.1 niklas 2: .\" $NetBSD: midiplay.1,v 1.3 1998/08/13 18:26:36 augustss Exp $
1.5 aaron 3: .\"
1.1 niklas 4: .\" Copyright (c) 1998 The NetBSD Foundation, Inc.
5: .\" All rights reserved.
6: .\"
7: .\" Author: Lennart Augustsson
8: .\"
9: .\" Redistribution and use in source and binary forms, with or without
10: .\" modification, are permitted provided that the following conditions
11: .\" are met:
12: .\" 1. Redistributions of source code must retain the above copyright
13: .\" notice, this list of conditions and the following disclaimer.
14: .\" 2. Redistributions in binary form must reproduce the above copyright
15: .\" notice, this list of conditions and the following disclaimer in the
16: .\" documentation and/or other materials provided with the distribution.
17: .\" 3. All advertising materials mentioning features or use of this software
18: .\" must display the following acknowledgement:
19: .\" This product includes software developed by the NetBSD
20: .\" Foundation, Inc. and its contributors.
21: .\" 4. Neither the name of The NetBSD Foundation nor the names of its
22: .\" contributors may be used to endorse or promote products derived
23: .\" from this software without specific prior written permission.
24: .\"
25: .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
26: .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
27: .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1.3 aaron 28: .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
1.1 niklas 29: .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30: .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31: .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32: .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33: .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34: .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35: .\" POSSIBILITY OF SUCH DAMAGE.
36: .\"
1.4 aaron 37: .Dd August 12, 1998
1.1 niklas 38: .Dt MIDIPLAY 1
39: .Os
40: .Sh NAME
41: .Nm midiplay
42: .Nd play MIDI files
43: .Sh SYNOPSIS
1.2 aaron 44: .Nm midiplay
1.1 niklas 45: .Op Fl d Ar devno
46: .Op Fl f Ar file
47: .Op Fl l
48: .Op Fl m
49: .Op Fl t Ar tempo
50: .Op Fl v
51: .Op Fl x
52: .Op Ar file ...
53: .Sh DESCRIPTION
1.3 aaron 54: The
1.1 niklas 55: .Nm
56: command plays MIDI files using the sequencer device.
57: If no file name is given it will play from standard input, otherwise
58: it will play the named files.
59: .Pp
1.5 aaron 60: The options are as follows:
1.7 ! aaron 61: .Bl -tag -width Ds
1.1 niklas 62: .It Fl d Ar devno
1.2 aaron 63: Specifies the number of the MIDI device used for output (as listed
1.1 niklas 64: by the
65: .Fl l
1.5 aaron 66: flag).
67: The default is device 0.
1.1 niklas 68: .It Fl f Ar file
1.2 aaron 69: Specifies the name of the sequencer device.
1.1 niklas 70: .It Fl l
1.2 aaron 71: List the possible devices without playing anything.
1.1 niklas 72: .It Fl m
1.2 aaron 73: Show MIDI file meta events (copyright, lyrics, etc).
1.1 niklas 74: .It Fl q
1.2 aaron 75: Do not play the MIDI file, just parse it.
1.1 niklas 76: .It Fl t Ar tempo
1.5 aaron 77: Specifies the tempo.
78: Default is 100.
1.1 niklas 79: .It Fl v
1.5 aaron 80: Be verbose.
81: If the flag is repeated the verbosity increases.
1.1 niklas 82: .It Fl x
1.2 aaron 83: Play a small sample sound.
1.6 aaron 84: .El
1.1 niklas 85: .Sh FILES
86: .Bl -tag -width /dev/music
87: .It Pa /dev/music
88: MIDI sequencer device
89: .El
90: .\".Sh ENVIRONMENT
91: .\".Bl -tag -width MIDIDEVICE
92: .\".It Pa AUDIOCTLDEVICE
93: .\"the audio control device to use.
94: .\".El
95: .Sh SEE ALSO
96: .Xr midi 4
97: .Sh HISTORY
98: The
99: .Nm
100: command first appeared in NetBSD 1.4.
101: .Sh BUGS
102: It may take a long while before playing stops when
103: .Nm
104: is interrupted since the sequencer and MIDI buffers will still
105: be emptied.