I was playing around with data: URLs and EMBED tags and made a .wav file generator in pure JavaScript. Playing the sound file requires a plugin that plays .wav files, but otherwise, the entire thing is pure JavaScript.

You can check it out here:

I also made a song player, but I don't know how well it works on any other system:
I'm curious as how it does perform. It's a bit hacky.