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