1.Dd December 25, 1999 2.Dt WAVEPLAY 1 3.Os 4.Sh NAME 5.Nm waveplay 6.Nd an audio player 7.Sh SYNOPSIS 8.Nm waveplay 9.Op Fl chrs 10.Op Fl b Ar size 11.Op Fl B Ar bits 12.Op Fl C Ar channels 13.Op Fl f Ar dev 14.Op Fl S Ar rate 15.Op Ar - 16.Op Ar file ... 17.Sh DESCRIPTION 18The 19.Nm 20utility plays audio files. 21The 22.Ar file 23operands are processed in command line order. 24A single dash represents the standard input. 25Supported formats are Windows RIFF WAVE format (only linear PCM) 26and linear PCM raw format without header. 27.Pp 28The options are as follows: 29.Bl -tag -width Fl 30.It Fl b Ar size 31Use an audio output buffer of 32.Ar size 33kbytes. 34The default size is 2 kbytes. 35.It Fl B Ar bits 36Specify the number of bits per sample. 37The default is 16. 38.It Fl c 39The audio data are written to standard output. 40.It Fl C Ar channels 41Specify the number of channels. 42The default is 2 (stereo). 43.It Fl f Ar dev 44Specify the audio device to use. 45The default is 46.Pa /dev/dsp . 47.It Fl h 48Print a help message and exit. 49.It Fl r 50Treat an input file as raw format. 51You can specify the sampling rate, the number of bits per sample, 52and the number of channels with the 53.Fl S , 54.Fl B , 55and 56.Fl C 57options, respectively, in which case the 58.Fl r 59option can be omitted. 60.It Fl s 61Silent mode. 62Suppress messages. 63.It Fl S Ar rate 64Specify the sampling frequencey. 65The default is 44100(Hz). 66.El 67.Sh AUTHORS 68The 69.Nm 70command was written by 71.An Yoshihide SONODA Aq yshd@na.rim.or.jp . 72