Re: [LAU] mixing multiple samples into a single audio file based on start times

From: Joel Roth <joelz@email-addr-hidden>
Date: Sun Jan 25 2009 - 19:23:37 EET

On Sat, Jan 24, 2009 at 10:46:23PM -0700, Erik Nomitch wrote:
> I need a good way to mix all of these seperate samples into one single
> audio file based on the time at which each starts at. Any
> recommendations or thoughts would be appreciated. File format doesn't
> matter, I'll use whatever is easiest.
>
> Thanks,
> Erik Nomitch
>
> ex:
> at: 0.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2A.wav
> at: 2.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2S.wav
> at: 4.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1A.wav

Here is an idea, not tested... that is supported by Ecasound 2.5.2

-------------------- setup.ecs ----------------
-a:1 -i:playat,0.0,/home/tux/.projects/elign/808/clap/808Clap-Kult_C2A.wav
-a:2 -i:playat,2.0,/home/tux/.projects/elign/808/clap/808Clap-Kult_C2S.wav
-a:3 -i:playat,4.0,/home/tux/.projects/elign/808/clap/808Clap-Kult_T1A.wav

-a:all -o:alsa,default
-----------------------------------------------

then

        ecasound setup.ecs

or for diagnostic purposes:

        ecasound -c setup.ecs

    start

See 'man ecsasound' for details, or any of the other fine
documentation.

Hope this helps,

Joel

-- 
Joel Roth
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sun Jan 25 20:15:04 2009

This archive was generated by hypermail 2.1.8 : Sun Jan 25 2009 - 20:15:05 EET