Comments (8)
Well, javascript typically won't run if you just open it as file://; you'll need to run a local web host. But it should work after that.
from pitchdetect.
Okay, I will try it.
from pitchdetect.
I tried this on my website http://dontaskmeagain.com/pitch/ and it gave me this error:
getUserMedia threw exception :TypeError: navigator.getUserMedia is not a function. (In 'navigator.getUserMedia(dictionary, callback, error)', 'navigator.getUserMedia' is undefined)
from pitchdetect.
getUserMedia is restricted to secure domains. If you're not running on localhost, it will need to be https://.
from pitchdetect.
Okay, I will see what I can do...
from pitchdetect.
If you still get the error, make sure the navigator you're using is compatible. getUserMedia is not supported everywhere... http://caniuse.com/#feat=stream
from pitchdetect.
Ah, good point. Safari doesn't support getUserMedia, on iOS or desktop.
from pitchdetect.
As of September 2018 navigator.getUserMedia has been deprecated (though still supported pretty much) in favour of navigator.mediaDevices.getUserMedia. The getUserMedia
function in the code could be modified to incorporate this.
from pitchdetect.
Related Issues (20)
- Stream Generation Failed? HOT 1
- Stream generation failed HOT 3
- Stream generation failed? HOT 1
- error: failed to set the 'buffer' property
- "Stream Generation Failed Error" HOT 2
- Mic won't work first time HOT 1
- Thank you, this is awesome! HOT 2
- Not working on mobile HOT 2
- "Stream Generation Failed Error" on Safari
- How to get this to work with lower notes?
- Detecting the pitch of an AudioBuffer? Without playing the audio back. HOT 1
- get a fixed number of detected pitches for the same time interval?
- how to get value every changes frequency?
- getUserMedia threw exception :TypeError: navigator.getUserMedia is not a function HOT 2
- Sound Engineer Feedback
- Not working in live demo HOT 3
- getShadowHosts Error in Chrome
- Doubt about this code in function **autoCorrelate**:
- I need some explanation HOT 2
- Live demo does not work in contemporary Chrome and Firefox
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pitchdetect.