SpeechSynthesis 和 chrome.tts 有什么区别
What is the difference between SpeechSynthesis and chrome.tts
扩展 (https://developer.chrome.com/extensions/tts) and SpeechSynthesis (https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis) API 的 chrome.tts 似乎能够做同样的事情。除了可用功能的一些差异外,我真的没有看到任何差异,但它们仍然可以做同样的事情。我应该注意哪些差异?
编辑:我需要将其专门用于 chrome 扩展,我知道 chrome.tts 仅适用于 chrome extensions/apps.
Chrome 的 TTS 是 Chrome 专有的并且是预标准的,而 SpeechSynthesis API 正在标准化过程中(即非专有并且可用在其他非 Chrome 基础的浏览器中)。
扩展 (https://developer.chrome.com/extensions/tts) and SpeechSynthesis (https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis) API 的 chrome.tts 似乎能够做同样的事情。除了可用功能的一些差异外,我真的没有看到任何差异,但它们仍然可以做同样的事情。我应该注意哪些差异?
编辑:我需要将其专门用于 chrome 扩展,我知道 chrome.tts 仅适用于 chrome extensions/apps.
Chrome 的 TTS 是 Chrome 专有的并且是预标准的,而 SpeechSynthesis API 正在标准化过程中(即非专有并且可用在其他非 Chrome 基础的浏览器中)。