浏览器语音转文字和文字转语音

参考

正文

文字转语音

let synth = window.speechSynthesis;
let utterThis = new SpeechSynthesisUtterance('支付宝到账7.5元');
synth.speak(utterThis);
posted @ 2024-01-18 16:33  夏秋初  阅读(31)  评论(0)    收藏  举报