MAN page from Other bplay-0.96-1.i386.rpm
BPLAY
Section: User Commands (1)
Updated: 10 June 1994
Index 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
bplaycopies data from the named sound file (or the standard input if no filenameis given) to the audio device.
breccopies data from the audio device to the named sound file (or thestandard output if no filename is present).
These programs are eventually intended to be drop-in replacements for thevplayandvrecprograms by Michael Beck (beckAATTinformatik.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 beforeplaying.
- -J samples
- When playing, the number of samples to skip at the beginning of the input beforeplaying.
FILES
/dev/dspThe audio device.
BUGS
The -t, -T, -j and -J options may do strange things when playing VOCfiles.
There are limitations on recording VOC format files - specificallyVOC files are onlyrecorded in the newer 1.20 version of the format, which older playerprograms may choke on. These limitations should be fixed in v1.0.
12 bit samples are not currently supported. This may be fixed if someonetells me the format used for 12 bit samples - my sound card doesn'tsupport 12 bit mode. I'm not sure that the sound driver supports themeither though.
This program runs setuid root. This is required because it usessetpriority() to run at the highest possible priority, and also locksdown the buffers it uses to avoid them being swapped out.
AUTHOR
David MonrodavidmAATTcs.usyd.edu.au
The option parsing code was originally taken fromvplayto maintiancompatability.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- FILES
- BUGS
- AUTHOR
This document was created byman2html,using the manual pages.