[linux-audio-user] Wave file conversion (multi-mono->stereo, then downsample/downsize, then dither)

Mark Knecht markknecht at comcast.net
Thu Sep 9 14:21:35 EDT 2004


On Thu, 2004-09-09 at 11:02, Eric Dantan Rzewnicki wrote:

> ecasound!
> 
> ecasound -a:1 -i:mono1.wav \
>     -a:2 -i:mono2.wav \
>     -a:1,2 -f:24,2,96000 -o:stereo.wav \
>     -a:2 -erc:1,2 -eac:0,1
> 
> Do that all on one line. The returns are escaped to make it easier to
> read. This creates 2 chains, one for each input mono wav file. Both
> chains are connected to the same output file. You have to set the format
> for the output because ecasound defaults to 16,2,44100. You don't need
> to set the format for the inputs if they are .wavs because ecasound will
> read the info from the wav headers. Then for chain 2 you route channel 
> one to channel two (-erc:1,2), and mute channel 1 (-eac:0,1).
> 
> -ERic Rz.

Thanks. I'll give that a try. At least that handles step one, assuming
no audio problems are created.

cheers,
Mark



More information about the linux-audio-user mailing list