Re: [ecasound] .asoundrc /ecasound

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

Subject: Re: [ecasound] .asoundrc /ecasound
From: Nathan Stewart (nps_AT_simwright.com)
Date: Tue Sep 17 2002 - 19:53:23 EEST


9/17/2002 10:54:19 AM, Kai Vehmanen <k_AT_eca.cx> wrote:
>On 17 Sep 2002, Nathan Stewart wrote:
>> # audio inputs
>> -a:radio -f:s24_le,12,96000 -i:alsahw,0,0
>> -a:mic -f:s24_le,12,96000 -i:alsahw,0,0
>
>This is not valid. You cannot define input "alsahw,0,0" twice in one
>chainsetup. Instead you should define it once and route its audio to
>multiple chains. In other words:
>
>-a:radio,mic -f:s24_le,12,96000 -i:alsahw,0,0

Thanks very much. I got it working late last night with the OSS device, It now looks like
(after your response):

# general
-b:1024 -r:-1 -z:intbuf -z:db,100000 -n:alsa-96k -X -z:noxruns -z:nopsr

# audio inputs
-a:radio,mic -f:s32_le,2,96000 -i:alsa,ch12

# audio outputs
-a:radio,mic -f:s32_le,2,96000 -o:annotated_log.wav

# chain operators and controllers
-a:radio -erc:1.00,1.00 -enm:1.00,500.00,100.00,0.00,10.00 -gr
-a:mic -erc:2.00,1.00 -enm:1.00,1.00,0.00,0.00,100.00 -gr

I couldn't get 24/32 bit data out of the OSS device, but this gets me working with the
native alsa device again. BTW, if I use s24_le instead of s32_le, ecasound seems to record,
but will segfault when disconnecting.

I was a bit confused about needing to specify all 12 channels in the asoundrc, and only
specifying the channels I'm using in the ecasound parameters. I tried it, and it seems
to be working. I take back all them things I thought about anyone involved. (Though few
of them were directed at ecasound folks.) I now have something simple enough to run from
a PDA hooked up to a serial console - a little bit of solder and I'll be ready to get some
data. (Where would science be without burnt fingers anyway?) Thanks again.

Nate

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request_AT_wakkanet.fi>.


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

This archive was generated by hypermail 2b28 : Tue Sep 17 2002 - 20:21:33 EEST