Skip to content

Instantly share code, notes, and snippets.

@addyosmani
Created September 20, 2013 17:34
Show Gist options
  • Save addyosmani/6641011 to your computer and use it in GitHub Desktop.
Save addyosmani/6641011 to your computer and use it in GitHub Desktop.
DevTools speech recognition
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