Created
June 17, 2017 01:34
-
-
Save arthurbergmz/679f3f8da241c21e8a374700fde5e39d to your computer and use it in GitHub Desktop.
WebBrowser SpeechShyntesis - pt-BR
This file contains hidden or 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
const synth = window.speechSynthesis | |
const speech = new SpeechSynthesisUtterance('Olá, mundo!') | |
speech.voice = synth.getVoices()[16] // Google PT-BR | |
speech.rate = 1 | |
speech.pitch = 1 | |
synth.speak(speech) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment