Re: [ecasound] Chainsetup saving bug

From: linux media 4 <linuxmedia4@email-addr-hidden>
Date: Wed Aug 18 2010 - 22:55:10 EEST

Julien Claassen wrote:
> Good morning Everyone!
> Yesterday I worked with a big chainsetup. First I just extended the
> commandline. But then it got so long (32 chains with loads of -ea and -klg and
> a few more), that I wanted to save it. So I used -c for the interactive mode
> and did this:
> Ecasound ('h' for help)> cs-save-as rp.ecs
> When I edited the file, I found that several inputs were incomplete. I used
> playat for almost anything, and sometimes stacked select on top of that. I
> think lines were only cut of in cases of playat,select stacks. They would look
> like this:
> -a:32 -f:s16_le,2,48000 -i:playat,88.4,select,24.0
> It happened quite consistently. Also at some points there was a comma at the
> end of the line, yet mostly not (only two commata and I could see nothing
> special about these chains).
> I'm using Ecasound v2.7.0, self compiled with enable-experimental.
> Kai, do you know, why that might happen? Anyone else ever come across it?
> I maybe out of touch a little for the next week, so I haven't lost
> interest, even if I don't reply directly.
> Kindly yours
> Julien

Hi Julien,

I did have problems with this also, so I tried several combinations to
see if there was a clear culprit. This is what I got...

(I'm running ecasound v2.6.0)

With 'playat' and 'select' stacked...

ecasound -c -a:1 -i:playat,6.176,select,6.176,2.068,one.wav -a:2
-i:playat,6.176,select,6.176,2.068,two.wav -a:1,2 -f:24,2 -o:jack,system

I did cs-save-as and got...

################ START ECS ################
# general
-b:512 -r:50 -z:intbuf -z:db,100000 -n:"command-line-setup" -X
-z:noxruns -z:nopsr -z:mixmode,avg

# audio inputs
-a:1 -f:s16_le,1,96000 -i:playat,6.176,select,6.176
-a:2 -f:s16_le,1,96000 -i:playat,6.176,select,6.176

# audio outputs
-a:1,2 -f:f32_le,2,96000 -o:jack,system,
################ END ECS ################

With just 'playat'...

ecasound -c -a:1 -i:playat,6.176,one.wav -a:2 -i:playat,6.176,two.wav
-a:1,2 -f:24,2 -o:jack,system

I did cs-save-as and got...

################ START ECS ################
# general
-B:rt -n:"command-line-setup" -X -z:noxruns -z:nopsr -z:mixmode,avg

# audio inputs
-a:1 -f:s16_le,2,44100 -i:playat,6.176
-a:2 -f:s16_le,2,44100 -i:playat,6.176

# audio outputs
-a:1,2 -f:s24_le,2,44100 -o:jack,system,
################ END ECS ################

With just 'select'...

ecasound -c -a:1 -i:select,6.176,2.068,one.wav -a:2
-i:select,6.176,2.068,two.wav -a:1,2 -f:24,2 -o:jack,system

I did cs-save-as and got...

################ START ECS ################
# general
-b:512 -r:50 -z:intbuf -z:db,100000 -n:"command-line-setup" -X
-z:noxruns -z:nopsr -z:mixmode,avg

# audio inputs
-a:1 -f:s16_le,1,96000 -i:select,6.176,2.068
-a:2 -f:s16_le,1,96000 -i:select,6.176,2.068

# audio outputs
-a:1,2 -f:f32_le,2,96000 -o:jack,system,
################ START ECS ################

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Thu Aug 19 00:15:01 2010

This archive was generated by hypermail 2.1.8 : Thu Aug 19 2010 - 00:15:01 EEST