Skip to content

Instantly share code, notes, and snippets.

@johnatandias
Created February 19, 2019 21:46
Show Gist options
  • Save johnatandias/f23db6d2e98481d1144501f518dd8ae3 to your computer and use it in GitHub Desktop.
Save johnatandias/f23db6d2e98481d1144501f518dd8ae3 to your computer and use it in GitHub Desktop.
(() => {
const synth = window.speechSynthesis;
const message = new SpeechSynthesisUtterance("See how simple it is");
message.rate = 0.7; // Voice speed
synth.speak(message);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment