[linux-audio-dev] Ecasound question

Eric Dantan Rzewnicki rzewnickie at rfa.org
Tue Feb 3 19:51:44 UTC 2004


Would that be something like (assuming .wav's are mono):

-a:t2 -i t2.wav -erc:1,2 -f:32,10,44100 -o alsa,hw:0
-a:t5 -i t5.wav -erc:1,5 -f:32,10,44100 -o alsa,hw:0

-a:t1 -f:32,14,44100 -i alsa,hw:0 -f:32,1,44100 -o t1.wav
-a:t6 -f:32,14,44100 -i alsa,hw:0 -erc:6,1 -f:32,1,44100 -o t6.wav

Kai will probably answer this better, but I just wanted to try.

-Eric Rz.

On Tue, Feb 03, 2004 at 08:02:24PM +0100, Fons Adriaensen wrote:
> On Tue, Feb 03, 2004 at 06:29:14PM +0200, Kai Vehmanen wrote:
>  
> > ecasound -f:32,12,44100 -i alsa,hw:0 -f:32,10,44100 -o alsa,hw:0
> 
> Ok, this works, and seems to copy in to out on all channels.
> 
> > ecasound -a:1,2 -f:32,14,44100 -i alsa \
> >          -a:1 -f:32,1,44100 -o foo_ch1.wav \
> >          -a:2 -erc:7,1 -f:32,1,44100 -o foo_ch7.ch
> > 
> > ... '-erc:src,dst' copies from channel to channel.
> 
> Still trying to understand that. Could you give a practical
> example ? Say e.g. that I want to play t2.wav and t5.wav to
> outputs 2 and 5, and record from inputs 1 and 6 to t1.wav and
> t6.wav. This emulates an 8-track machine playing back two 
> channels and recording two others. How would that be done ?
> 
> Many thanks for your help.
> 
> -- 
> Fons
> 
> 



More information about the Linux-audio-dev mailing list