SBCONV(1) USER COMMANDS SBCONV(1)
NAME
sbconv - convert sound file format
SYNOPSIS
sbconv [options] input_filename output_filename
DESCRIPTION
sbconv reads the specified input_filename, converts the data
to the specified output format and saves the data in
output_filename. The input_filename must be stored in Sony
sound(4) format.
OPTIONS
For specifying the compressed output file format:
-mulaw specifies mu-law (default).
-alaw specifies A-law.
-strpcm specifies straight PCM.
-adpcm1 specifies the Sony format ADPCM.
-adpcm2 specifies CD-ROM mode 2; user data ADPCM.
NOTE
Because the -adpcm1 and -adpcm2 options are function-
ally identical, it is recommended that you use -adpcm1
option because it does not include redundant header
information. The -adpcm2 option is provided for direct
playback of CD-ROM sector data.
For specifying the number of channels:
-mono specifies monaural (default).
-stereo specifies stereo.
For specifying the number of quantifier bits (data width):
-4 specifies 4-bit quantization (ADPCM default).
-8 specifies 8-bit quantization (straight PCM
default).
-16 specifies 16-bit quantization.
For specifying emphasis (ADPCM only):
+emphasis specifies use emphasis.
-emphasis specifies do not use emphasis (default).
1
SBCONV(1) USER COMMANDS SBCONV(1)
For specifying the sampling frequency:
-8000 specifies 8 kHz (default).
-9450 specifies 9.45 kHz.
-18900 specifies 18.9 kHz.
-37800 specifies 37.8 kHz.
Multiple options can be specified. For example, to specify
Sony format ADPCM, monaural, no emphasis, at 18.9 kHz,
enter:
% sbconv -adpcm1 -mono -18900 infile outfile
In addition, the format can be specified interactively on
standard input/output when the -interactive option is used.
NOTE
Execution of this command can take a comparatively long time
depending on the input and output formats.
SEE ALSO
sound(4)
2