After lots of crashes and frailties, I got today the solution for an audio-cycle-buffer (2047 samples). That means, it is possible to synthesize custom sounds and effects nearly in runtime (delay about 47ms). I have no *BIG* example here right now. Just the first running engine. It has a simple SWF embedded, where an empty wavfile is exported. This SWF will be parsed, modified and reloaded to create the sync- and the permanently changing cycle-buffer-sound. The class Cycle provides switching mono/stereo and 8bit/16bit, yet.
Sidenote to Frank: It’s on you to bring the Roland TB-303 to Flash :-) And I have to mention e-phonic and david. They also tried to find a solution on dynamic sound synthesis in flash with pretty cool results.
To have a stable sync in the browser I had to double the cycle-buffer. So the latency is now about 92ms.
Update Enhanced version in my laboratory besides other audio experiements
Update 1.5 years later the Hobnox AudioTool with lots of plugins is available.
A really good thing and long awaited ;)
Thanx to share your work André.
actually the first thing i thought of when i heard that e-phonic synth was a tb303! something about the distorted, 8-bit 11khz buzz sounded all squelchy and acid-y.
[update]
doin’ some more work on the 303 tomorrow. thanks for the excellent audiobuffer engine! cheers.
Thats absolutely awsome work guys!! Nice one!! Watch out properllorheads eh hehe!!
great stuff, as always!
Very nice work indeed!!!
Didn’t had much time to work on my version, but i see it wont be needed anymore ;-)
Looking forward to play around with it!
Cheers!
PJ
OMFG Lets make some Acid.
You’re modifying a SWF and reloading that? How in the world? If so, doesn’t that process represent a huge security hole in flash player?
oh, you have removed the audio.zip from your site :(
I wish I had stored it first time around and not just skimming throught the source in winrar preview..
Will it be coming back, or is it too good to be handed to public this early :)
92 ms latency?
Wow, that is really low! :-)
It gets better every time, keep spacing!
I want bigger knobs :) and easier math :))
Does very weird things when the flash is scrolled out of view or the window looses focus. Seems like the tempo goes way up and the sample get cut off — OSX 10.5.6 Safari 3.2.1
A W E S O M E !!!!
So, how do you turn off the sound while viewing the webpage? It’s pretty intrusive ;)