Skip to content

Instantly share code, notes, and snippets.

@MACSkeptic
Created September 9, 2013 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MACSkeptic/6492671 to your computer and use it in GitHub Desktop.
Save MACSkeptic/6492671 to your computer and use it in GitHub Desktop.
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