.Dd December 25, 1999 .Dt WAVEPLAY 1 .Os .Sh NAME .Nm waveplay .Nd an audio player .Sh SYNOPSIS .Nm waveplay .Op Fl chrs .Op Fl b Ar size .Op Fl B Ar bits .Op Fl C Ar channels .Op Fl f Ar dev .Op Fl S Ar rate .Op Ar - .Op Ar file ... .Sh DESCRIPTION The .Nm utility plays audio files. The .Ar file operands are processed in command line order. A single dash represents the standard input. Supported formats are Windows RIFF WAVE format (only linear PCM) and linear PCM raw format without header. .Pp The options are as follows: .Bl -tag -width Fl .It Fl b Ar size Use an audio output buffer of .Ar size kbytes. The default size is 2 kbytes. .It Fl B Ar bits Specify the number of bits per sample. The default is 16. .It Fl c The audio data are written to standard output. .It Fl C Ar channels Specify the number of channels. The default is 2 (stereo). .It Fl f Ar dev Specify the audio device to use. The default is .Pa /dev/dsp . .It Fl h Print a help message and exit. .It Fl r Treat an input file as raw format. You can specify the sampling rate, the number of bits per sample, and the number of channels with the .Fl S , .Fl B , and .Fl C options, respectively, in which case the .Fl r option can be omitted. .It Fl s Silent mode. Suppress messages. .It Fl S Ar rate Specify the sampling frequencey. The default is 44100(Hz). .El .Sh AUTHORS The .Nm command was written by .An Yoshihide SONODA Aq yshd@na.rim.or.jp .