You might have seen that the new Angry Birds for Chrome has audio support but it falls back on Flash. Boo. Cheating.
Also found this SuperCollider-like browser-based audio API: https://github.com/colinbdclark/Flocking
You can follow the emails from the W3Audio Working Group here: http://lists.w3.org/Archives/Public/public-audio/ – they make for some fascinating insight into how these APIs are created, and what goes into creating an audio & video API from scratch. They also have a nice Twitter feed for keeping up on what’s going on with audio support: http://twitter.com/#!/w3caudio
From the feed I found these handy links for low-level audio API goodness:
There’s some Javacsript for handling music theory (Western, anyway) by calculating note frequencies, scales, octaves, transposing, etc:
There’s also audiolib.js:
It looks promising, but the bells-and-whistles example (with the sequencer and keyboard) didn’t work in FireFox 4.0 for me.
3 responses to “Web Audio – It is finally (almost) here?”
Hey Evan, thanks for the survey, really astonishing how close we are getting to a musical browser! Btw I tried the musicjs demo on a mac/chrome, but couldn’t hear anything – was it the same for you?
After a little research – it’s disabled by default, you need to type “about:flags” into the Chrome search bar and enable “Web Audio”
Then it works fine!
wow I didnt know about the “about:flags” thing – thanks!