I tried that, but unfortunately data URLs are far too slow. Firefox 3.7 has some exciting audio APIs though:
https://wiki.mozilla.org/Audio_Data_API
I've been meaning to write a JSNES prototype for them.
https://wiki.mozilla.org/Audio_Data_API
I've been meaning to write a JSNES prototype for them.