Generating sound effects with client side JavaScript

A few years ago I came across a simple library with which we can easily generate 8-bit sound effects for JavaScript games and apps. This library is very handy for hackathons or weekend coding sessions.

This small library is called jsfx. Info on usage and a demo site can be found on its GitHub page.

How does it work?

This lib generates wave files as data URIs and then feeds them to an <audio> element.


Just click on the buttons to play the corresponding sound effects.

Latest blog posts

Boilerplate for static site generation 25th March 2014

Automatically loading Grunt tasks with matchdep 11th March 2014

A simple usability trick for Google Maps 10th March 2014

Switching background color of an image with Gimp 2nd March 2014