Merge streams...

Jun 10, 2010 at 9:43 AM

I was thinking that this mediakit would enable some sort of sound-effect/sampling framework

as far as i know, the only thing one needs to do, is to bitwize OR the FFT with the samples

 

sample1.mp3 -> FFT = fft1

sample2.mp3 -> FFT = fft2

output = fft1 | fft2  // while reading the stream

 

this would enable one to have a single mediaelement which plays always... then when a game-effect happens, the FFT is simply merged into the stream

alternatively, one could make a Sampling "studio" for music creation - the N-number of tracks if then simply OR'ed while playing... 

what do you think ?