let msg = new SpeechSynthesisUtterance("你好");msg.rate=4;msg.pitch=10;msg.text="您好赵";msg.volume=1;speechSynthesis.speak(msg); var synth ...
let msg = new SpeechSynthesisUtterance("你好");msg.rate=4;msg.pitch=10;msg.text="您好赵";msg.volume=1;speechSynthesis.speak(msg); var synth ...
SpeechSynthesisUtterance基本属性 SpeechSynthesisUtterance.lang 获取并设置话语的语言 SpeechSynthesisUtterance.pitch 获取并设置话语的音调(值越大越尖锐,越低越低沉 ...
参考链接:https://blog.csdn.net/qq_40571631/article/details/89738575 --- SpeechSynthesisUtterance基本介绍 SpeechSynthesisUtterance是HTML5中新增的API,用于将指定文字合成 ...