BPLAY(1) | General Commands Manual | BPLAY(1) |
bplay, brec - buffered sound recording/playing
bplay [-d device] [-B buffersize] [-S] [-s speed] [-b bits] [[-t secs] | [-T samples]] [[-j secs] | [-J samples]] [-D level] [file]
brec [-d device] [-B buffersize] [-S] [-s speed] [-b bits] [[-t secs] | [-T samples]] [-r|-v|-w] [-D level] [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 intended to be drop-in replacements for the vplay and vrec programs by Michael Beck (beck@informatik.hu-berlin.de).
/dev/dsp The audio device.
The -t, -T, -j and -J options may do strange things when playing VOC files.
There are limitations on recording VOC format files - specifically VOC files are only recorded in the 1.20 version of the format, which some player programs may choke on. There is also currently a limit of around 16M on the size of a VOC file which will be recorded. This is probably not a problem since I don't think anybody really uses VOC files anymore.
This program prefers to run setuid root. This is because it wants to use setpriority() to run at the highest possible priority, and also locks down the buffers it uses to avoid them being swapped out.
David Monro (davidm@amberdata.demon.co.uk or davidm@cs.usyd.edu.au)
The option parsing code was originally taken from vplay to maintain compatibility.
20 September 1999 |