Chrome and Chrome OS allow developers to produce synthesized speech. This document is an overview of the relevant code and code structure around synthesized speech.
A brief outline of the flow from speech request to the resulting speech on any platform.
chrome.tts extension API
The chrome.tts extension API allows extensions to request speech across Windows, Mac or Chrome OS, using native speech synthesis.
Input to the extension is first processed in the TtsExtensionApi.
Web Speech API