SpeechSynthesisUtterance 语音合成(TTS)

2022-03-29 10:07:44
``` let msg = new window.SpeechSynthesisUtterance('A001,请到15号窗口'); msg.lang = 'zh-CN' window.speechSynthesis.speak(msg); ```