SBREC(1) USER COMMANDS SBREC(1)
NAME
sbrec - record sounds
SYNOPSIS
sbrec [-d device_name][ -i volume][options] filename
DESCRIPTION
Sounds are recorded using the audio interface and stored in
sound(4) format files. sbrec displays the following message
on the standard output once audio input is possible:
Hit return key to start
^C key to stop
Press <Return> to begin recording. Use [Ctrl]+c to stop
recording.
OPTIONS
For specifying the compression format:
-mulaw specifies mu-law.
-alaw specifies A-law.
-strpcm specifies straight PCM.
For specifying the number of channels:
-mono specifies monaural.
-stereo specifies stereo.
For specifying the number of quantifier bits:
-8 specifies 8-bit quantization.
-16 specifies 16-bit quantization.
For specifying the sampling frequency:
-8000 specifies 8 kHz.
-9450 specifies 9.45 kHz.
-18900 specifies 18.9 kHz.
-37800 specifies 37.8 kHz.
For specifying the monitor function:
+monitor turns the monitor function ON.
1
SBREC(1) USER COMMANDS SBREC(1)
-monitor turns the monitor function OFF.
For specifying the input jack:
-box inputs with /dev/sbe0 from microphone/speaker
box.
-line inputs with /dev/sbe0 from the boardUs line
input.
Arguments following the -d option specify the audio inter-
face. If the sbrec command does not include the -d option,
an attempt is made to open /dev/sbe0. If it cannot be
opened, the /dev/sb0 device file is opened. The user need
not be aware of the device being used. However, if both
/dev/sb0 and /dev/sbe0 are connected to the same machine, or
if device names have been changed, the device name must be
specified using the -d option.
Arguments following the -i option are used for specifying
the input volume. This value can be from 0 dB to -32 dB in
0.5 dB increments. When line input is used with /dev/sbe0,
the range is +7.5 dB to -10 dB in 2.5 dB increments. If no
value is specified, the previous setting is used.
SEE ALSO
sbplay(1), sound(4).
2