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