Jump to content
malsploit

Motion sensing using the doppler effect

Recommended Posts

Posted (edited)

This is an implementation of the SoundWave paper on the web. It enables you to detect motion using only the microphone and speakers!

How to use it

Just run it like this

doppler.init(function(bandwidth) {
console.log(bandwidth.left - bandwidth.right);
});

See more in example.html. (Note that doppler uses navigator.getUserMedia, which can't be run on the local filesystem, so you'll have to start a server to run this.)

Read more about the theory of how this works on the github-pages site.https://github.com/DanielRapp/doppler

Edited by hate.me

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...