brec

BPLAY(1)                    General Commands Manual                   BPLAY(1)



NAME
       bplay, brec - buffered sound recording/playing

SYNOPSIS
       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]

DESCRIPTION
       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 (beck@informatik.hu-
       berlin.de).

   OPTIONS
       -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
              supported.

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

FILES
       /dev/dsp The audio device.

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

       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
       v1.0.

       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.

AUTHOR
       David Monro davem@gh.cs.usyd.edu.au

       The option parsing code was originally taken from vplay to maintian
       compatability.



                                 10 June 1994                         BPLAY(1)