Re: [ecasound] Making a mix from multiple WAVs faster

From: Tomás Arribas <Tomas@email-addr-hidden>
Date: Mon Aug 04 2008 - 00:39:20 EEST

Julien, thank you for your answer.

I have installed the v2.4.7pre4_2.5.0 for testing the method that you
suggested and I'm making some progress so far.

This is the command I'm generating for a song of 3 samples, one after
the other, in one track:

ecasound -a:1 -i playat,0,select,0,2.414,"samples/Balin's
Tomb/wav/Bass/Bass 1.wav" -o loop,1
-a:2 -i playat,2.41436547457371,select,0,2.414,"samples/Balin's
Tomb/wav/Bass/Bass 1.wav" -o loop,1
-a:3 -i playat,4.82873094914743,select,0,2.414,"samples/Balin's
Tomb/wav/Bass/Bass 1.wav" -o loop,1
-a:4 -i loop,1 -o loop,6 -ea:100
-a:5 -i loop,6 -o "downmix/untitled407123.mp3"

But at execution, I meet this error:

(eca-session) Note! Unable to create a valid chainsetup from the command-line
... arguments.
(eca-chainsetup) Unable to connect: Chain "1" is not valid. Following
errors were
... detected:
(eca-chainsetup) Chain "1" is not connected to any output. All chains must have
... exactly one valid output. (2.2-NO-CHAIN-OUTPUT)
(eca-chainsetup) Unable to connect: Chain "2" is not valid. Following
errors were
... detected:
(eca-chainsetup) Chain "2" is not connected to any output. All chains must have
... exactly one valid output. (2.2-NO-CHAIN-OUTPUT)
(eca-chainsetup) WARNING: Output "loop,1" is not connected to any chain.
... (3.2-DISCON-OUTPUT)
(eca-chainsetup) WARNING: Output "loop,1" is not connected to any chain.
... (3.2-DISCON-OUTPUT)

But, if I use only 1 sample, like this:

ecasound -a:1 -i playat,0,select,0,2.414,"samples/Balin's
Tomb/wav/Bass/Bass 1.wav" -o loop,1
-a:4 -i loop,1 -o loop,6 -ea:100
-a:5 -i loop,6 -o "downmix/untitled407123.mp3"

It works!

Why is this? All the sample-filled chains definitely have an output
(loop,1), so why the error of chain 1 and 2 not having outputs set
when I use more than one sample?

Thanks!

Tomás

P.S I'm routing loop,1 through loop,6 at the end so I can change the
full track volume (with -ea:). This will make sense when I mixdown the
5 tracks of the mixer.

2008/8/1 Julien Claassen <julien@c-lab.de>:
> Hi!
> 1. You could directly ouput the downmix to an mp3 file:
> ecasound -a:1 -i ... -a:2 -i ... ... -a:all -o output.mp3
> 2. You can probably trim all files with one command as well:
> ecasound -a:1 -i file1.wav -o out1.wav -y:2.3 ... -a:2 -i file2.wav -o
> out2.wav -y:0 ... -a:N -i fileN.wav -o outN.wav -y:3.1 ...
> I guess you can do the full process in one command. Using the latest
> ecasound snapshot the pre4-2.5.0.
> There are the playat and other nice audio ops.
> If you can manage there are a lot of advantages:
> 1. Storage minimisation
> 2. Only one ecasound command
> 3. Which means: all the initialisation phases are reduced to one.
> PLEASE all have a look at this, for I'm not 100% sure:
> ecasound -a:1 -i playat,play_time,file1.wav -y:start_trim -gc:... -ea:...
> (the other chains) -a:all -o output.mp3
> Just noticed again: Playat just moves the sample along the time of the
> complete song. thus:
> ecasound -i playat,2,file.wav -o output.wav
> will play file.wav completely, but with 2 seconds silence at the start of
> the output.wav.
> Where the syntax:
> ecasound -i file.wav -y:2.0 -o output.wav
> will play file.wav 2seconds in, no silence gap in front. If you get what I
> mean. I know it can get fuzzy around here.
> Kindest regards
> Julien
>
> --------
> Music was my first love and it will be my last (John Miles)
>
> ======== FIND MY WEB-PROJECT AT: ========
> http://ltsb.sourceforge.net
> the Linux TextBased Studio guide
> ======= AND MY PERSONAL PAGES AT: =======
> http://www.juliencoder.de
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ecasound-list mailing list
Ecasound-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Aug 4 04:15:02 2008

This archive was generated by hypermail 2.1.8 : Mon Aug 04 2008 - 04:15:03 EEST