Python-Projects icon indicating copy to clipboard operation
Python-Projects copied to clipboard

[Optimization] Optimize pyttsx3 usage by removing unnecessary engine.stop() call

Open NhanPhamThanh-IT opened this issue 3 months ago • 1 comments

Description

In the Text-to-Speech (TTS) functionality using the pyttsx3 library, there is an unnecessary call to engine.stop() right after engine.runAndWait(). Since engine.runAndWait() already waits for the speech to finish, calling engine.stop() is redundant. This may lead to unnecessary resource usage or potential issues when performing continuous speech synthesis.

NhanPhamThanh-IT avatar Sep 17 '25 03:09 NhanPhamThanh-IT

Hey, I’d like to work on this issue for Hacktoberfest. Can you please assign it to me?

infinotiver avatar Oct 12 '25 07:10 infinotiver