[ecasound] loop device trouble

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: [ecasound] loop device trouble
From: ben@slumber.dhs.org
Date: Sun Dec 03 2000 - 02:19:23 EET


I'm using ecasound to apply effects to an audio input in realtime, and I
want to send the output to both /dev/dsp and a file, so I can monitor
the output as I'm recording. I run ecasound like this:

ecasound -r -c -b:128 -sr:44100 \
        -a:0 -i:/dev/dsp -eli:1060,0.75,0.50,0.50 \
                -eli:1123,0.00,0.90,0.20,0.30,0.40,1.00 -o:loop,0 \
        -a:1 -i:loop,0 -o:/dev/dsp \
        -a:2 -i:loop,0 -o:out.wav

When I try to begin processing, I get this error message:

(eca-controller) Warning! No chainsetup connected. Trying to connect
currently selected chainsetup.

When I do cs-connect, it says

(eca-controller) Can't connect; chainsetup not valid!

I did a cs-edit to examine the chainsetup, and it looked like this:

-b:128 -sr:44100 -n:command-line-setup
-a:0 -f:s16_le,2,44100 -i:/dev/dsp
-a:2 -f:s16_le,2,44100 -i:loop,0,0
-a:2 -f:s16_le,2,44100 -i:loop,0,0

-a:0 -f:s16_le,2,44100 -o:loop,0,0
-a:1 -f:s16_le,2,44100 -o:/dev/dsp
-a:2 -f:s16_le,2,44100 -o:out.wav,

-a:0 -eli:1060,0.75,0.50,0.50 -eli:1123,0.00,0.90,0.20,0.30,0.40,1.00
-a:1
-a:2

For some reason, there are two lines assigning chain 2's input to loop
device 0, and nothing for chain 1. If I change one of the lines to
"-a:1 ...", it just magically goes back to "-a:2 ...". It works if a:0
is just sent directly to /dev/dsp, and if I leave out a:2 altogether,
but not with all three chains. What's going on? Is this even the right
way to monitor ecasound's output while recording?

(I have ecasound v1.8.4d15)

Ben

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


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Dec 03 2000 - 02:21:35 EET