A cool JS library that allows you to dynamically generate your own retro style sound effects : jsfx.
It’s ported from sfxr, and you can play with the settings or just create random sounds with the buttons. Once you’ve perfected the perfect woop, kerpling or zweeep, you can just copy the settings from the text field and paste them into your code.
The library takes your settings and dynamically creates a base64 encoded wav file – they reckon it’ll only take 30ms in a modern browser so it should be way faster than actually loading sound files from the server. And from what I can tell, wav files seem to be supported by all of the latest browsers.
So go get your R2D2 on with the demo.