SBSET(1) USER COMMANDS SBSET(1)
NAME
sbset - set audio interface parameters
SYNOPSIS
sbset [-d device_name] [-i input_volume] [-o output_volume]
[options]
DESCRIPTION
sbset sets various audio interface parameters including
input volume, output volume format, compression format, sam-
pling rate, quantifier bit width, monitor, and input jack.
OPTIONS
For specifying the compression format:
-mulaw specifies mu-law.
-alaw specifies A-law.
-strpcm specifies straight PCM.
-adpcm specifies ADPCM.
For specifying the number of channels:
-mono specifies monaural. -stereo specifies stereo.
For specifying the number of quantifier bits:
-4 specifies 4-bit quantization.
-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 emphasis (ADPCM only):
+emphasis specifies to use emphasis.
-emphasis specifies do not use emphasis.
1
SBSET(1) USER COMMANDS SBSET(1)
NOTE
Emphasis is provided to dampen high-level noise in the
digital audio transfer system, but it rarely needs to
be specified. It has been kept to maintain compatibil-
ity with devices such as CD-ROMs.
For specifying the mute function:
+mute specifies mute.
-mute specifies do not mute.
For specifying the monitor function:
+monitor turns the monitor function ON.
-monitor turns the monitor function OFF.
For specifying the input jack:
-box specifies input with /dev/sbe0 from
microphone/speaker box.
-line specifies input with /dev/sbe0 from the
board's line input.
For specifying the display of settings:
-v specifies print settings as standard output.
Arguments following the -d option are used for specifying
the audio interface. If the sbset command does not include
the -d option, an attempt is made to open the /dev/sbe0 dev-
ice. If it cannot be opened, the /dev/sb0 device file will
be 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 specify 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.
Arguments following the -o option specify the output volume.
This value can be from 0 dB to -32 dB in 0.5 dB increments.
The value 0 dB is always used when line output from the
board is used with /dev/sbe0.
SEE ALSO
sbplay(1), sbrec(1), sound(4).
2