Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Optimization of pyttsx3 usage by removing unnecessary engine.stop() call #268

Open
@janetjoseph02

Description

The current implementation of the Text-to-Speech (TTS) functionality in the pyttsx3 library includes an unnecessary call to engine.stop() immediately after engine.runAndWait().
Problem:
After the text is spoken using engine.runAndWait(), the engine.stop() method is invoked. However, engine.runAndWait() already waits for the speech to complete, making the additional call to engine.stop() redundant. This may lead to unnecessary resource usage or potential issues in continuous speech synthesis.
I would be glad to work on this issue, so it would be great if you could assign me for this issue. @Shahrayar123
Thanks,
Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /