Created
February 20, 2017 16:02
-
-
Save shawnlknight/f46ad16539fcc27cc2c4e9f3f6d22760 to your computer and use it in GitHub Desktop.
Speech Synthesis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let say = new SpeechSynthesisUtterance('say'); | |
let what = new SpeechSynthesisUtterance('what'); | |
what.rate = 0.4; | |
what.pitch = 2; | |
speechSynthesis.speak(say); | |
speechSynthesis.speak(what); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment