2min of music in 4kb Javascript
-
"This small JavaScript program will generate and play a two minutes long piece of music.
Small? Yes, it's just 3822 bytes, which is actually less than the size of the HTML document that you're currently reading!
The sound is generated with CD quality (44.1KHz, 16 bits stereo), and the size of the generated tune is 21 megabytes (all done client side, in your browser!). As a little bonus, the demo also has some animated graphics (courtesy of HTML 5 canvas)."
I managed to extract the audio and made a MP3 for those that have slow browsers.
-
It's the spirit of Demomakers : make the maximun with the minimum !
Advertisement