Heavenly Glory

January 2015 | By Michael Bromley


Ever wished your every slightest limb movement would be accompanied by a cool swooshing air sound? Ever wanted your punches and kicks to make amazing wood-block-snapping noises? Martial arts experts train for years - often decades - to master the skills needed to create these amazing sound effects. Thanks to the power of the modern web platform, you can now experience what it feels like to possess such skills! This is an experiment in using the getUserMedia and Web Audio APIs to implement simple motion detection which triggers audio playback. The stream from the user's webcam in analyzed in real-time, and when motion is detected, the Web Audio API is used to provide accompanying sound effects.

Built with: