BPLAY(1)                    General Commands Manual                   BPLAY(1)

       bplay, brec - buffered sound recording/playing

       bplay [-S] [-s speed] [-b bits] [[-t secs] | [-T samples]] [[-j secs] |
       [-J samples]] [file]

       brec [-S] [-s speed] [-b bits] [[-t secs] | [-T samples]] [file]

       bplay copies data from the named sound file (or the standard input if
       no filename is given) to the audio device.

       brec copies data from the audio device to the named sound file (or the
       standard output if no filename is present).

       These programs are eventually intended to be drop-in replacements for
       the vplay and vrec programs by Michael Beck (

       -S     Sound file is stereo.

       -s speed
              The speed in samples per second.

       -b bits
              The number of bits per sample. Only 8 and 16 are currently

       -t secs
              The number of seconds to be played or recorded.

       -T samples
              The number of samples to be played or recorded.

       -j secs
              When playing, the number of seconds to skip at the beginning of
              the input before playing.

       -J samples
              When playing, the number of samples to skip at the beginning of
              the input before playing.

       /dev/dsp The audio device.

       The -t, -T, -j and -J options may do strange things when playing VOC

       There are limitations on recording WAV and VOC format files - in
       particular, WAV files may not be more than 16Mb long. VOC files are
       only recorded in the newer 1.20 version of the format, which older
       player programs may choke on. These limitations should be fixed in

       12 bit samples are not currently supported. This may be fixed if
       someone tells me the format used for 12 bit samples - my sound card
       doesn't support 12 bit mode.

       This program runs setuid root. This is required because it uses
       setpriority() to run at the highest possible priority, and also locks
       down the buffers it uses to avoid them being swapped out.  This is a
       compile-time option which has not been enabled in the Debian version.

       Currently, the buffers are not locked down, as this appears to be a
       surefire way to bring down the machine.

       David Monro

       The option parsing code was originally taken from vplay to maintian

                                 10 June 1994                         BPLAY(1)