Example of WebCam+WebAudioAPI demo.
Needs camera device and Chrome browser.
By interpreting camera image, sound generator is controlled like theremin.
Unfortunately, iOS devices are not available yet.
A green sphere tracks motions. Horizontal axis corresponds to pitch and vertical axis corresponds to filter freq. The intensity of motions are corresponds to volume.
* Though WAAPISim is used, Firefox seems a bit unstable about WebCam control. I recommend to use Chrome.
Posted by g200kg : 2013/04/30 08:46:44