Skip to content

Instantly share code, notes, and snippets.

@stopsatgreen
Created September 3, 2013 15:30
Show Gist options
  • Save stopsatgreen/6425477 to your computer and use it in GitHub Desktop.
Save stopsatgreen/6425477 to your computer and use it in GitHub Desktop.
Web Speech API: Speech Synthesis. Works in Safari 6.1/7 only.
var foo = new SpeechSynthesisUtterance('Hello world');
window.speechSynthesis.speak(foo);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment