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

1.16    ! jmc         1: .\" $OpenBSD: midiplay.1,v 1.15 2010/02/13 13:45:29 ratchov 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: .\"
                     18: .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
                     19: .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
                     20: .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1.3       aaron      21: .\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
1.1       niklas     22: .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
                     23: .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
                     24: .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
                     25: .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
                     26: .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
                     27: .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
                     28: .\" POSSIBILITY OF SUCH DAMAGE.
                     29: .\"
1.16    ! jmc        30: .Dd $Mdocdate: February 13 2010 $
1.1       niklas     31: .Dt MIDIPLAY 1
                     32: .Os
                     33: .Sh NAME
                     34: .Nm midiplay
                     35: .Nd play MIDI files
                     36: .Sh SYNOPSIS
1.2       aaron      37: .Nm midiplay
1.15      ratchov    38: .Op Fl gmqvx
                     39: .Op Fl f Ar device
1.1       niklas     40: .Op Fl t Ar tempo
1.14      sobrado    41: .Op Ar
1.1       niklas     42: .Sh DESCRIPTION
1.3       aaron      43: The
1.1       niklas     44: .Nm
1.15      ratchov    45: command plays MIDI files.
1.9       jmc        46: If no file name is given it will play from standard input;
                     47: otherwise it will play the named files.
1.1       niklas     48: .Pp
1.5       aaron      49: The options are as follows:
1.15      ratchov    50: .Bl -tag -width Ds
                     51: .It Fl f Ar device
                     52: Specifies the name of the
                     53: .Xr sndio 7
                     54: MIDI device.
1.10      jsg        55: .It Fl g
1.11      jmc        56: Send a
                     57: .Dq General MIDI On
                     58: system exclusive message to the device.
1.1       niklas     59: .It Fl m
1.9       jmc        60: Show MIDI file meta events (copyright, lyrics, etc.).
1.1       niklas     61: .It Fl q
1.2       aaron      62: Do not play the MIDI file, just parse it.
1.1       niklas     63: .It Fl t Ar tempo
1.5       aaron      64: Specifies the tempo.
                     65: Default is 100.
1.1       niklas     66: .It Fl v
1.5       aaron      67: Be verbose.
1.9       jmc        68: If the flag is repeated, the verbosity increases.
1.1       niklas     69: .It Fl x
1.2       aaron      70: Play a small sample sound.
1.6       aaron      71: .El
1.1       niklas     72: .Sh SEE ALSO
1.16    ! jmc        73: .Xr aucat 1 ,
1.15      ratchov    74: .Xr midi 4 ,
                     75: .Xr sndio 7
1.1       niklas     76: .Sh HISTORY
                     77: The
                     78: .Nm
1.8       mpech      79: command first appeared in
                     80: .Nx 1.4 .