SpeechSynthesisUtterance 不能播放为什么

let msg = new SpeechSynthesisUtterance("你好");msg.rate=4;msg.pitch=10;msg.text="您好赵";msg.volume=1;speechSynthesis.speak(msg);

var synth = window.speechSynthesis;
undefined
var voices = synth.getVoices();

msg.voice=voices[16]

原文地址:https://www.cnblogs.com/dabaixiong/p/14319832.html