Re: [ecasound] Selecting a portion of output

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Tue Feb 16 2010 - 00:12:15 EET


On Thu, 11 Feb 2010, Brian Hogg wrote:

> ecasound -a:1 -i:Birthday1/malemain.wav -a:2 -
> i:Birthday1/1aged1moreyear.ewf -a:3 -i:Birthday1/2veryold.ewf -a:1,2,3
> -o previews/128.mp3 -t:75
> The -t:75 gives the first 75 seconds only, whereas it would be nice to
> specify an offset or range instead. I'll have a play with the command
> and see what I can do, if you have any ideas let me know?

the '-t' option is indeed a fairly limited tool. It basicly just sets the
run length for the overall setup. So it's not specifically related to the
output stage at all, it just tells the engine how long to run.

One workaround is to loop the output to a new chain and use
the time crop gate to pick a range:

ecasound -a:1 -i foo1.wav -a2:foo2.wav -a:1,2 -o loop,1 \
          -a:3 -i loop,1 -gc:25,75 -o mix-25to100sec.wav

... that gives you the 25..100sec (start at 25sec, run for 75sec) range of
the mixed content in the output file. You can get the same effect without
the additional loop chain, but then you have to specify the offset+length
twice (two instances of -gc). E.g.:

ecasound -a:1 -i foo1.wav -a2:foo2.wav -a:1,2 -o mix-25to100sec-altb.wav \
          -a:1 -gc:25,75 -a:2 -gc:25,75

A more friendly (?) option would be if 'select' object supported use as an
output, but unfortunately this is currently not the case.

SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
Ecasound-list mailing list
Received on Tue Feb 16 00:15:06 2010

This archive was generated by hypermail 2.1.8 : Tue Feb 16 2010 - 00:15:06 EET