Created
September 9, 2013 07:58
-
-
Save MACSkeptic/6492671 to your computer and use it in GitHub Desktop.
This file contains 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
rec = new webkitSpeechRecognition; | |
rec.continuous = true; | |
rec.interimResults = true; | |
rec.onresult = function (ev) { | |
console.log(ev.results[ev.results.length-1][0].transcript); | |
}; | |
rec.start() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment