Question

I am creating a tts program. I am using free tts. The program is fine, running. I have assigned two buttons(start,stop) and a text box. The start button reads the text from the text box and sent it to the free tts algorithm to convert to speech.

It all works fine but the problem is that once I have click on start, the program starts reading and it becomes unresponsive until reading is completed, I cannot even click the stop button.

I tried to solve this problem by sending word by word to the tts algorithm but the the speech is really unbearable

How do I solve this problem???

Was it helpful?

Solution

The problem can be corrected using SwingWorker. I is a really effective methood.

Detailed help is available here and here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top