A
A
Alikhan2021-10-04 12:33:50
speech synthesis
Alikhan, 2021-10-04 12:33:50

How not to freeze program when playing pyttsx3 speech?

I was making a program using pyttsx3 for text-to-speech synthesis in Python and ran into one problem.
When a voice is played, the engine.runAndWait()program is frozen, and nothing can be pressed in it. How can this problem be solved? I tried to use multithreading but gave an error (I showed it in my last question)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question