3 ms·
This might help you: https://github.com/monteslu/pagenodes/blob/7388ce58726836cf663499a4dd2f39ca2272c5fa/src/editor/nodeDefs/core/espeak.js#L8 https://github.co
by warbrett 10y ago
This might help you: https://github.com/monteslu/pagenodes/blob/7388ce58726836cf663499a4dd2f39ca2272c5fa/src/editor/nodeDefs/core/espeak.js#L8 https://github.com/monteslu/pagenodes/blob/7388ce58726836cf6...
- verst 10y agoSuper 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)