Re: [LAU] sox: everything on the internet is wrong

From: Ken Restivo <ken@email-addr-hidden>
Date: Fri Feb 26 2010 - 06:16:26 EET

On Fri, Feb 26, 2010 at 02:44:37PM +1100, Erik de Castro Lopo wrote:
> Ken Restivo wrote:
>
> > Example: I want to split a stereo JACK-compatible 32-bit float
> > broadcast WAV file into two mono 32-bit float mono WAV files. Ohh kaaay...
>
> erikd@email-addr-hidden > sndfile-deinterleave
>
> Usage : sndfile-deinterleave <filename>
>
> Split a mutli-channel file into a set of mono files.
>
> If the input file is named 'a.wav', the output files will be named
> a_00.wav, a_01.wav and so on.
>
>
> On Ubuntu 9.10, sndfile-deinterleave is part of the sndfile-programs
> package.
>

Not on Debian Lenny, sndfile-program 1.0.17-4, command not found.

But, I figured out how to do it with this somewhat clumsy but effective ecasound line:
ecasound -a:1,2 -i useless.wav -a:1 -f:32,1,44100 -o mono_L.wav -a:2 -f:32,1,44100 -o mono_R.wav -chcopy:2,1

-ken
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Feb 26 08:15:02 2010

This archive was generated by hypermail 2.1.8 : Fri Feb 26 2010 - 08:15:02 EET