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.