I'm working on Text to speech application but I encounter a problem that I couldn't know the present word that TTS is speaking. Is there any way to find this.?
For Example: If TTS is speaking this string: Questions that may already have your answer and when it reaches 'already', how can I highlight 'already.'
I propose that use sequence of TextToSpeech.speak():
Now it only remains How to detect that synthesizing of a word has finished?
Use TextToSpeech.setOnUtteranceCompletedListener()
to detect utterance has completed.
You can see these pages for more details:
How to know when TTS is finished?
An introduction to Text-To-Speech in Android
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With