sfconvert


NAME

sfconvert − applies various stereo/mono transformations.

SYNOPSIS

sfconvert [options] soundfile(s)

DESCRIPTION

sfconvert changes the channel format of the input soundfile(s) to a new one.

OPTIONS

sfconvert −j snd1.wav snd2.aiff [or sfconvert −−join snd1.wav snd2.aiff]

"Joins" the two mono soundfiles snd1.wav and snd2.aiff into one stereo file. The output will be placed in the file snd1.J.wav where the "J" stands for "joined."

sfconvert −s snd3.wav [or sfconvert −−split snd3.wav]

"splits" the stereo file into two mono ones, and place the output in snd3.L.wav and snd3.R.wav , for "left" and "right" respectively.

sfconvert −f snd4.aiff [or sfconvert −−flip snd4.aiff]

"flips" the channels of a stereo soundfile. The output is placed in snd4.F.aiff

sfconvert −−s2m snd5.wav [or sfconvert −−stereo2mono snd5.wav]

converts a stereo file to a mono file by summing the left and right channels together. The output is placed in snd5.M.wav .

sfconvert −−m2s snd6.aifc [or sfconvert −−mono2stereo snd6.aifc]

converts a mono file to a stereo file by placing the single stream of samples into both left and right channels. The output is placed in snd6.S.aifc .

sfconvert −−m2l snd7.wav [or sfconvert −−mono2left snd7.wav]

converts a mono file to a stereo file, and places the single input stream of samples into the left channel of a stereo file. The right channel is filled with zeros. The output is placed in snd7.L.wav .

sfconvert −−m2r snd8.aif [or sfconvert −−mono2right snd8.aif]

converts a mono file to a stereo file, and places the single input stream of samples into the right channel of a stereo file. The left channel is filled with zeros. The output is placed in snd8.R.aif .

BUGS

This program will only work with WAVE, AIFF, AIFC, and the old NeXT/Sun "snd" format soundfiles, that are 16-bit PCM encoded, with 1 or 2 channels.

AUTHOR

Arun Chandra <arunc@evergreen.edu>

sfconvert is free software.