🎤 语音
语音合成
Web Speech API SpeechSynthesis
文本朗读。使用Web Speech API。
使用方法
可以轻松体验Web Speech API中SpeechSynthesis功能的演示工具。
使用Web Speech API,可以在浏览器中朗读文本内容或识别语音。
具体来说,可以用JavaScript实现并使用SpeechSynthesis(语音合成,Text-to-Speech)。
💡
如果语言列表未显示,则您的浏览器不支持此功能。
可用语音因浏览器而异。
可用语音列表中显示的内容是通过speechSynthesis.getVoices()获取的值。
・lang
・name
・voiceURI
・default (if true)
・localService (if true)
💡
语音处理在浏览器中进行,不会向服务器发送数据。