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

From: Erik Nomitch <enomitch@email-addr-hidden>
Date: Sun Jan 25 2009 - 07:46:23 EET

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@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sun Jan 25 08:15:02 2009

This archive was generated by hypermail 2.1.8 : Sun Jan 25 2009 - 08:15:02 EET