Search code examples
javascriptgoogle-chromegoogle-chrome-extensiontext-to-speech

What is the difference between SpeechSynthesis and chrome.tts


The chrome.tts for extensions (https://developer.chrome.com/extensions/tts) and SpeechSynthesis (https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis) APIs seems to be able to do the same things. I don't really see any differences besides a few differences in the available functions, but they can still do the same thing. Are there any differences I should be aware of?

Edit: I need to use this specifically for a chrome extension, I'm aware chrome.tts is only for chrome extensions/apps.


Solution

  • Chrome’s TTS is propriety to Chrome and is pre-standard, whereas the SpeechSynthesis API is in the process of being standardised (I.e. non-proprietary and is available in other, non-Chrome based browsers).