What the bleep!?

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.

jsfx demo
jsfx on github
From elgonelbre [via @iblamefish]

One thought on “What the bleep!?

  1. Saw this yesterday and totally love it – maybe in connection with with the music.js project, it could be used to dynamically create midi-style songs from JavaScript. Definitely using it for SFX in a browser game I’m playing around with.

    Having said that, when i saw this linked on twitter I was hoping you might be able to share some insight into how the hell it works!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current ye@r *