Subject: Re: [ecasound] Q about channel routing
From: Joel Roth (jroth_AT_mauigateway.com)
Date: Tue Jan 27 2004 - 19:54:13 EET
On Tue, Jan 27, 2004 at 12:03:31PM +0200, Tommi Sakari Uimonen wrote:
> Hi.
>
> How can I route two stereo samples to a 4 channel output so that first
> goes to channels 1 & 2, and the second to channels 3 & 4.
>
> I know -erc, but it copies, I need 'move'.
The following (not tested) takes care of the routing. The multichannel
format depends on the sound card.
ecasound -a:1 -i:stereo-ab.wav \
-f:s32_le,12,44100 \ (for ice1712)
-o:alsa,4ch_device \
\
-a:2 -i:stereo-cd.wav -erc:0,2 -eac:0,0 \
-erc:1,3 -eac:0,1 \
-f:s32_le,12,44100 -o:alsa,4ch_device
I wrote a utility to generate the routing code since
I could never seem to get my command-line options right.
>
> Tommi Uimonen
>
-- Joel Roth
This archive was generated by hypermail 2b28 : Tue Jan 27 2004 - 20:05:15 EET