📜  使用 javascript 代码示例的文本到语音

📅  最后修改于: 2022-03-11 15:01:20.350000             🧑  作者: Mango

代码示例1
var msg = new SpeechSynthesisUtterance();
msg.text = "Hello World";
window.speechSynthesis.speak(msg);