project

Arich Chanachai macrocosm at fastmail.fm
Sun Oct 24 20:00:32 EDT 2004


Sorry I haven't gotten back to you.  I have been rather busy and have 
been unable to work on your problem for you.  Nevertheless, it is 
possible for you to do what you wish.  Ask Jeff Epler (he replied to you 
as well) about his solution which you will need to combine with an audio 
conversion module (I suggest PyMedia, pop it into Google) so that within 
the algorithm, each wav file is converted immediately to an mp3 file 
then joined according to the logic of the algorithm.  Alternatively you 
could join all 10 waves then convert that to mp3, then the algorithm 
loops and performs the same operation on a different set of ten wave 
files. 

It is a simple procedure, and should not be much trouble.   You will 
just need to check out the pydocs on random number generation, talk to 
Jeff and python-list, join the PyMedia mailing-list (this is necessary 
bc. the docs are not very comprehensive), and do the math (you may need 
to perform calculations according to the quality of mp3 or ogg desired 
taking into account limitations of hard drive space (or other target 
storage medium) and any other factors I happened to forget).

Good luck!



More information about the Python-list mailing list