Tts Synthesizer
Base interface used for implementing TTS speech synthesizers. A ITtsSynthesizer maintains a queue of ITtsUtteranceData and manages its playback. A newly created TtsSynthesizer is in paused state, has its volume set to 1.0 and playback rate set to 1.0.
The framework provides a default implementation based on the Android Text to speech API android.speech.tts.TextToSpeech. See ColibrioTtsSynthesizer for more information.
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.
Will be called by the SyncMediaPlayer when its playbackRate has been changed.