Skip to content
A kung-fu movie starring you. Web RTC & Web Audio experiment.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app update google font link for https Jun 24, 2017
.bowerrc Working motion detection and Gulp workflow Nov 23, 2014
.editorconfig Working motion detection and Gulp workflow Nov 23, 2014
.gitattributes :octocat: Added .gitattributes & .gitignore files Nov 21, 2014
.gitignore
.jshintrc Working motion detection and Gulp workflow Nov 23, 2014
.yo-rc.json
README.md
bower.json Working motion detection and Gulp workflow Nov 23, 2014
gulpfile.js Add red overlay effect Dec 7, 2014
package.json update google font link for https Jun 24, 2017

README.md

Heavenly Glory

Ever wondered what it would be like to be Bruce Lee? 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?

Yes, yes and yes?

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.

Try The Demo

What is it?

This is an experiment in using the getUserMedia and Web Audio APIs to implement simple motion detection which triggers audio playback.

The motions detection is based on a method outlined in this article by Soundstep and borrows from an implementation at ReallyGood/js-motion-detection.

Features

  • Variable sensitivity to motion
  • View the motion detection canvas to see what it sees
  • Customize the movie title and star name, which is encoded in the URL hash for sharing
  • Real kung fu sounds
  • Feel powerful and cool
  • Also works great with kids/babies and animals

Browser Support

Currently the browsers that support both getUserMedia and Web Audio are Chrome, Firefox and Opera.

Attribution

The following images were used in the poster and require attribution:

License

MIT

You can’t perform that action at this time.