Re: sox: everything on the internet is wrong

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@mingus > 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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux