I am using freetts for converting text-to-speech.I am using swing java to do so. I want that while speaking text will get highlighted in the textarea.
For speaking I am using speak function of voice class and I am synthesizing voice using voiceManager. I an not getting code for that.I f any one can help me with the code.

Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Apr 21, 2015, 8:56 AM EDT
Thus you would have to work around with speech... Such as counting the time taken to speak out a word properly. Then you can use that timer to update the graphical user-interface and update the text highlighting.
Just a question, does your API support "Which character to read now" kind of thing?
Akanksha Kumari3 reputationPosted Apr 21, 2015, 9:07 AM EDT