[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.10

1.10    ! jsg         1: .\" $OpenBSD: midiplay.1,v 1.9 2005/03/11 22:54:06 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.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.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
        !            68: Send a ``General MIDI On'' system exclusive message to the device.
1.1       niklas     69: .It Fl l
1.2       aaron      70: List the possible devices without playing anything.
1.1       niklas     71: .It Fl m
1.9       jmc        72: Show MIDI file meta events (copyright, lyrics, etc.).
1.1       niklas     73: .It Fl q
1.2       aaron      74: Do not play the MIDI file, just parse it.
1.1       niklas     75: .It Fl t Ar tempo
1.5       aaron      76: Specifies the tempo.
                     77: Default is 100.
1.1       niklas     78: .It Fl v
1.5       aaron      79: Be verbose.
1.9       jmc        80: If the flag is repeated, the verbosity increases.
1.1       niklas     81: .It Fl x
1.2       aaron      82: Play a small sample sound.
1.6       aaron      83: .El
1.1       niklas     84: .Sh FILES
                     85: .Bl -tag -width /dev/music
                     86: .It Pa /dev/music
                     87: MIDI sequencer device
                     88: .El
                     89: .\".Sh ENVIRONMENT
                     90: .\".Bl -tag -width MIDIDEVICE
                     91: .\".It Pa AUDIOCTLDEVICE
                     92: .\"the audio control device to use.
                     93: .\".El
                     94: .Sh SEE ALSO
                     95: .Xr midi 4
                     96: .Sh HISTORY
                     97: The
                     98: .Nm
1.8       mpech      99: command first appeared in
                    100: .Nx 1.4 .
1.1       niklas    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.