Colibrio Tts Synthesizer
A TtsSynthesizer implementation based on the Android Text to speech API android.speech.tts.TextToSpeech.
Provided so that you can get default text-to-speech behaviour without writing your own TtsSynthesizer: construct it with a TextToSpeech instance and hand it to the reading system.
To customize the language and voice used, please use setColibrioTtsSynthesizerConfigurationListener. See ColibrioTtsSynthesizerConfigurationListener for further details.
Constructors
Creates a ColibrioTtsSynthesizer backed by the given Android TextToSpeech instance.
Functions
Add the utterance to the queue of utterances to speak.
The implementation must stop any current playing utterance and set itself in paused state. It should then clear the queue of utterances to speak.
Called before any other method to register a callbacks instance used for reporting progress, etc.
Sets the ColibrioTtsSynthesizerConfigurationListener to the given instance.
Will be called by the SyncMediaPlayer when its playbackRate has been changed.