top | item 4564859

(no title)

AlexC04 | 13 years ago

I looked at the JS over here http://codebase.es/riffwave/riffwave.js and find this line

     this.dataURI = 'data:audio/wav;base64,'+FastBase64.Encode(this.wav);
(edit... more accurately the whole RIFFWAVE function blows my mind)

Really quite revolutionary (in terms of my understanding)... I already knew about making JPEGS etc, so this makes perfect sense but just seeing him build all the headers for a wav file in memory then "spit it out" to the page is stunning.

Kudos, Bravo, Standing slow clap, etc...

Thanks for sharing.

discuss

order

No comments yet.