4 ms·
A friend recently created something similar, and he ended up transcribing the full-length Super Mario theme song! http://eshiota.github.io/retro-audio-js/ http
by ricardobeat 12y ago
A friend recently created something similar, and he ended up transcribing the full-length Super Mario theme song! http://eshiota.github.io/retro-audio-js/ http://eshiota.github.io/retro-audio-js/
Presentation here: http://www.slideshare.net/eshiota/web-audio-band-playing-with-a-band-in-your-browser http://www.slideshare.net/eshiota/web-audio-band-playing-wit...
- dceddia 12y agoVery awesome! Interestingly, in both Chrome and Firefox, the song stops playing ("mostly") if you switch to a different tab. I say "mostly" because Chrome seems to play a single note every 10-20 seconds even with the tab backgrounded.
- nbody 12y agoYeap, both setTimeout and setInterval are being sacrificed for performance. Alternatively you could use WebWorkers to offload the timers for precision.