A JavaScript WAV audio player with parametric EQ for Firefox 3.6.
By Ben Firshman @bfirsh
Loading...
As a side effect of adding sound to JSNES, I wrote a neat little Flash interface for playing dynamically generated sound from JavaScript. I hacked together this quick demo to demonstrate what it is capable of.
Only 16 bit 44.1 KHz stereo WAV files are supported at the moment.
The interface just reads a buffer from JavaScript and writes it to the sound card. All the EQ processing and file loading (thanks to Firefox 3.6's asynchronous file API) is done in JavaScript.
The source is available on Github. I hope to release the Flash interface as a reusable library soon.