---------- Forwarded message ---------- From: Justin Smith <noisesmith@xxxxxxxxx> Date: Sat, Jan 24, 2009 at 9:59 PM Subject: Re: mixing multiple samples into a single audio file based on start times To: Erik Nomitch <enomitch@xxxxxxxxx> On Sat, Jan 24, 2009 at 9:46 PM, Erik Nomitch <enomitch@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx > 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). _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user