3 ms·
Super helpful. Thanks! In Chrome the following works as a basic sample: speech = new SpeechSynthesisUtterance(String("生日快乐")) voice = speechSynthesis.getV
by verst 11y ago
Super helpful. Thanks!
In Chrome the following works as a basic sample:
speech = new SpeechSynthesisUtterance(String("生日快乐"))
voice = speechSynthesis.getVoices()[80] // use Google Chinese Voice
speech.voice = voice
speechSynthesis.speak(speech)