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

Justin Smith noisesmith at gmail.com
Sun Jan 25 01:00:20 EST 2009


---------- Forwarded message ----------
From: Justin Smith <noisesmith at gmail.com>
Date: Sat, Jan 24, 2009 at 9:59 PM
Subject: Re: [LAU] mixing multiple samples into a single audio file
based on  start times
To: Erik Nomitch <enomitch at gmail.com>


On Sat, Jan 24, 2009 at 9:46 PM, Erik Nomitch <enomitch at gmail.com> wrote:
> Hi,
>
> I'm making a random "beat" generator based on a directory tree of
> samples and a map file.  Currently, it shuffles sample order and
> creates a list of samples and their corresponding start time (example
> list below).
>
> 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
> at: 6.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1S.wav
> at: 8.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_aOrig.wav
> at: 10.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01.wav
> at: 12.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_ST.wav
> at: 14.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_VT1.wav
> at: 4.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2A.wav
> at: 6.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2S.wav
> at: 8.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1A.wav
> at: 10.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1S.wav
> at: 12.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_aOrig.wav
> at: 14.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01.wav
> at: 16.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_ST.wav
> at: 18.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_VT1.wav
> at: 4.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2A.wav
> at: 8.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2S.wav
> at: 12.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1A.wav
> at: 16.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1S.wav
> at: 20.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_aOrig.wav
> at: 24.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01.wav
> at: 28.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_ST.wav
> at: 32.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_VT1.wav
> etc...
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
>

I know that ecasound is designed to make it easy to do this sort of
thing. A second option is using your favorite text manipulation
programming language to generate an ardour session file (ardour
session files are human readable/editable XML, I recommend loading and
arranging a few clips in ardour, saving the session, and using the
resulting file as a template if you go that route).



More information about the Linux-audio-user mailing list