From Music Hack Day
A multi-hackday project to run a distributed synthesizer in web browsers. Began at SF Music Hack Day 2011, fleshed out for JSConf.eu, tweaked and tested at London MHD 2011.
 About the hack
Sinewav.es lets anyone with a Twitter account perform music live over the internet to anybody. It provides a UI for playing, recording, and looping samples, and lets you control which fraction of your audience gets which samples. It synchronizes the performance across all the connected machines and sends performance updates out using the Faye messaging library, making it great if you happen to have dozens of laptops handy.
 What APIs, tools or kit did you use?
- Firefox audio API -- all audio is generated in real time on the client side
- WebSockets + Faye -- for propagating state and synchronizing clocks
- Redis -- stores state for the app and the Faye message bus