readium-shared-js
readium-shared-js copied to clipboard
TTS synthetic speech readout, word-level highlighting within sentence-level utterance
The Media Overlays playback engine already implements a similar approach, but HTML Speech API struggles to find the correct word boundaries unfortunately (erratic highlighting).
This feature request is independent from MO though (speech readout of text-only ebooks).
Benetech Bookshare open-source code:
https://github.com/benetech/readium/blob/0.5.0-bookshare/scripts/utils/benespeak.js#L110
(chrome.tts.speak API, not cross-platform HTML5 Speech API)