Created
September 9, 2013 11:35
-
-
Save philsinatra/6494422 to your computer and use it in GitHub Desktop.
Javascript Speech Recognition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r = new webkitSpeechRecognition; | |
r.continuous = true; | |
r.interimResults = true; | |
r.onresult = function(ev) { | |
console.log(ev.results[ev.results.length-1][0].transcript); | |
}; | |
r.start() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment