Skip to content

Instantly share code, notes, and snippets.

@Pengeszikra
Created December 5, 2020 20:44
Show Gist options
  • Select an option

  • Save Pengeszikra/b1464223d80e33185467427313ee0b5f to your computer and use it in GitHub Desktop.

Select an option

Save Pengeszikra/b1464223d80e33185467427313ee0b5f to your computer and use it in GitHub Desktop.
javascript speak API
const say = sentence => speechSynthesis.speak(new SpeechSynthesisUtterance(sentence));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment