SpeechSynthesis 和 chrome.tts 有什么区别

Bra*_*don 5 javascript google-chrome text-to-speech google-chrome-extension

用于扩展( https://developer.chrome.com/extensions/tts)和SpeechSynthesis(https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis )API的chrome.tts似乎是能够做同样的事情。除了可用功能上的一些差异之外,我确实没有看到任何差异,但它们仍然可以做同样的事情。有什么我应该注意的差异吗?

编辑:我需要专门用于 chrome 扩展程序,我知道 chrome.tts 仅适用于 chrome 扩展程序/应用程序。

Dai*_*Dai 3

Chrome\xe2\x80\x99s TTS 是 Chrome 专有的并且是预标准的,而 SpeechSynthesis API 正在标准化过程中(即非专有且可在其他非基于 Chrome 的浏览器中使用)。

\n