Created
July 23, 2013 12:08
-
-
Save zhusee2/6061885 to your computer and use it in GitHub Desktop.
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
| var u = new SpeechSynthesisUtterance("我說國語,我也說廣東話"), | |
| voices = speechSynthesis.getVoices(); | |
| u.voice = voices[44]; // zh-HK Sin-Ji Compact in my environment. | |
| speechSynthesis.speak(u); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment