danielrapp / doppler Goto Github PK
View Code? Open in Web Editor NEW:wave: Motion detection using the doppler effect
Home Page: https://danielrapp.github.io/doppler/
License: MIT License
:wave: Motion detection using the doppler effect
Home Page: https://danielrapp.github.io/doppler/
License: MIT License
Glad to see such a nice idea implemented!
I came from this page: https://danielrapp.github.io/doppler/
I own a PC where camera with mic is plugged as usually - at the top of the [middle] screen.
When in page-scroll mode I move my hand, page scrolls down, but when I move hand back - it scrolls upward to the same interval.
I think this is related to either camera/speakers position or their levels.
What do you recommend to tweak?
I am getting a lot of noise and flickering.
Basically I am unable to use the library. I had to turn of noise cancellation for it to start giving noisy readings. But switching it on, renders it useless.
Would it be possible to somehow distinguish left/right speakers ?
Hi Daniel,
Thank you for building doppler!
It's one of the projects that have inspired me to go speak at a conference about unconventional ways to transmit data and input. I will use doppler on stage, of course giving due credit to you and the paper authors.
I made some updates to a fork of the project, mainly to suit my needs during an interactive demo on stage. The changes introduce the ability to turn doppler on/off, update API references and expose callbacks. I'd like to contribute my changes back to the main project, but I batched them together in one "refactoring" branch rather than multiple atomic commits.
Please have a look at the diff and the comments at the end.
Are you open to accepting this batch of changes as a pull request?
They do introduce breaking changes for existing demos, but I'm willing to help update them (I replaced init(callback)
with start()
and on('sample', callback)
).
'doppler' is available on npm! https://www.npmjs.com/package/doppler
For me, page outputs a high pitched whine (VERY Audible).
I'm trying the demo, got the following errors in browser console, unable to get it work. Please advise if any browser compatibility req. thx.
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://danielrapp.github.io').
13www-widgetapi.js:27 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://danielrapp.github.io').
www-embed-player.js:166 GET chrome-extension://boadgeojelhgndaghljhdicfkmllpafd/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://boadgeojelhgndaghljhdicfkmllpafd/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/cast_sender.js net::ERR_FAILED
www-widgetapi.js:27 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://danielrapp.github.io').
www-embed-player.js:166 GET chrome-extension://hfaagokkkhdbgiakmmlclaapfelnkoah/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://hfaagokkkhdbgiakmmlclaapfelnkoah/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://fmfcbgogabcbclcofgocippekhfcmgfj/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://fmfcbgogabcbclcofgocippekhfcmgfj/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_sender.js net::ERR_FAILED
5www-widgetapi.js:27 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://danielrapp.github.io').
www-embed-player.js:166 GET chrome-extension://boadgeojelhgndaghljhdicfkmllpafd/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://dliochdbjfkdbacpmhlcpmleaejidimm/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://hfaagokkkhdbgiakmmlclaapfelnkoah/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://fmfcbgogabcbclcofgocippekhfcmgfj/cast_sender.js net::ERR_FAILED
www-embed-player.js:166 GET chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_sender.js net::ERR_FAILED
Enabling the legacy webrtc api in the developer menu allows the demosite to prompt for mic access, but once granted, the demo doesn't output the high frequency tone or display any spectrals or seem to react to sound in any way.
I played with the doppler tool a bit, when suddenly the once clearly audible tone disappeared and the motion tracking didn't work anymore. I didn't think much of it, but now, even after a restart, the higher frequencies on any other website and application don't work anymore. Does the tool actively block the frequency or is it likely, that my speakers are broken?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.