<script>
let msg = new SpeechSynthesisUtterance("你好");
console.log(msg)
//msg.rate = 4 播放语速
//msg.pitch = 10 音调高低
//msg.text = "播放文本"
//msg.volume = 0.5 播放音量
speechSynthesis.speak(msg);
</script>
<script>
let msg = new SpeechSynthesisUtterance("你好");
console.log(msg)
//msg.rate = 4 播放语速
//msg.pitch = 10 音调高低
//msg.text = "播放文本"
//msg.volume = 0.5 播放音量
speechSynthesis.speak(msg);
</script>
2130