View Full Version : on-the-fly mp3 'layered' compilation

03-04-2003, 11:33 AM
I'm stuck

I need help! please! :)

I'm trying to find something that will 'sandwich together' three mp3(or wav, or anything) files into ONE on-the-fly.
I'm NOT trying to 'join' them... I want to have them 'layered' together.

imagine the individual files as tracks or layers in the final piece.

1) Music (background) +
2) Sound-Scape +
3) Narrative

== deliverable (1, 2, and 3 get 'squashed' together on-the-fly into one mp3, wav, swf, or whatever. Then served.)

(i also need to build the 'sandwich' using multiple 'pieces' for each layer, including some silences...



...but that's possibly another issue entirely.. imagine that layers have one mp3 only, with the same bitrate and same length for each... for now)

Of course you're saying - use CoolEdit or any simple audio editing tool. Well - I need to be able to do this on-the-fly. Why? Because the iterations of output could be in the millions!

So a user of my app can choose from say, 10 options for music, 10 options for soundscapes, and 20 options for Narration and then (after a wait - hopefully not a long one) be served a single mp3 to listen to.
(additionally it would be awesome to be able to begin serving/streaming this result before it has finished 'compiling')!

Currently I can 'serve' the three files/streams together (actually a 'simultaneous playing') in the Flash Player or otherwise, but I'd like to keep Bandwidth use to a minimum, so again, I'd like to be able to pre-compile on the fly.

Remember I can't pre-compile 'before-required' offline as the number of possible outcomes will be too large.

So it's like all these groovy flash-based mixers out there except that i'm not content with just storing variables to put the individual elements together on playback, I need a call to go off to *something* that will compile and deliver...

There doesn't seem to be anything out there. Koan seems to promise it but the information is sketchy.

Any ideas.?

Many many thanks in advance for your help.

please reply to willem@zilvester.com

Willem Mulder


+44 (0)7788 413157

03-04-2003, 03:34 PM
That is so specialist you will need a programmer.