Re: [ecasound] Question about multichannel sound cards

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Question about multichannel sound cards
From: Kai Vehmanen (k_AT_eca.cx)
Date: Thu May 22 2003 - 00:32:00 EEST


On Fri, 16 May 2003, Luis Pablo Gasparotto wrote:

>>ecasound -f:32,1,44100 \
>> -a:1 -i jack -o foo1.wav \
>> -a:2 -i jack -o foo2.wav \
>> ... \
>> -a:12 -i jack -o foo12.wav
>
> How Ecasound knows wich channel to read? What should I write to record
> only channels 5,6,10 and 12?

If you are using JACK, then have to use JACK's connect management tools
(jack_connect/jack_disconnect or qjackconnect) to connect ecasound's ports
to soundcard's channels or to different apps.

If interfacing directly with ALSA, you usually always have to read data
from all channels and then pick the ones you want with -erc.

And of course, you can also read all channels from JACK and
connect automatically to the soundcard ports:

# pick the 5th channel to mono file foo.wav
ecasound -i f:32,12,44100 -i jack_alsa -erc:5,1 -f:32,1,44100 -o foo.wav

-- 
 http://www.eca.cx
 Audio software for Linux!


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu May 22 2003 - 00:33:17 EEST