[BACK]Return to midiplay.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / midiplay

Annotation of src/usr.bin/midiplay/midiplay.1, Revision 1.12

1.12    ! jmc         1: .\" $OpenBSD: midiplay.1,v 1.11 2005/11/06 16:34:34 jmc 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.12    ! jmc        37: .Dd $Mdocdate$
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.10      jsg        45: .Op Fl glmqvx
1.1       niklas     46: .Op Fl d Ar devno
                     47: .Op Fl f Ar file
                     48: .Op Fl t Ar tempo
                     49: .Op Ar file ...
                     50: .Sh DESCRIPTION
1.3       aaron      51: The
1.1       niklas     52: .Nm
                     53: command plays MIDI files using the sequencer device.
1.9       jmc        54: If no file name is given it will play from standard input;
                     55: otherwise it will play the named files.
1.1       niklas     56: .Pp
1.5       aaron      57: The options are as follows:
1.9       jmc        58: .Bl -tag -width "-d devnoXX"
1.1       niklas     59: .It Fl d Ar devno
1.2       aaron      60: Specifies the number of the MIDI device used for output (as listed
1.1       niklas     61: by the
                     62: .Fl l
1.5       aaron      63: flag).
                     64: The default is device 0.
1.1       niklas     65: .It Fl f Ar file
1.2       aaron      66: Specifies the name of the sequencer device.
1.10      jsg        67: .It Fl g
1.11      jmc        68: Send a
                     69: .Dq General MIDI On
                     70: system exclusive message to the device.
1.1       niklas     71: .It Fl l
1.2       aaron      72: List the possible devices without playing anything.
1.1       niklas     73: .It Fl m
1.9       jmc        74: Show MIDI file meta events (copyright, lyrics, etc.).
1.1       niklas     75: .It Fl q
1.2       aaron      76: Do not play the MIDI file, just parse it.
1.1       niklas     77: .It Fl t Ar tempo
1.5       aaron      78: Specifies the tempo.
                     79: Default is 100.
1.1       niklas     80: .It Fl v
1.5       aaron      81: Be verbose.
1.9       jmc        82: If the flag is repeated, the verbosity increases.
1.1       niklas     83: .It Fl x
1.2       aaron      84: Play a small sample sound.
1.6       aaron      85: .El
1.1       niklas     86: .Sh FILES
                     87: .Bl -tag -width /dev/music
                     88: .It Pa /dev/music
                     89: MIDI sequencer device
                     90: .El
                     91: .\".Sh ENVIRONMENT
                     92: .\".Bl -tag -width MIDIDEVICE
                     93: .\".It Pa AUDIOCTLDEVICE
                     94: .\"the audio control device to use.
                     95: .\".El
                     96: .Sh SEE ALSO
                     97: .Xr midi 4
                     98: .Sh HISTORY
                     99: The
                    100: .Nm
1.8       mpech     101: command first appeared in
                    102: .Nx 1.4 .
1.1       niklas    103: .Sh BUGS
                    104: It may take a long while before playing stops when
                    105: .Nm
                    106: is interrupted since the sequencer and MIDI buffers will still
                    107: be emptied.