Skip to content

engine.say has no sound after not using window about 1 hour #273

Open
@enxuan

Description

I have code to say tts:
import pyttsx3
engine = pyttsx3.init()
engine.setProperty('rate', rate)
engine.setProperty('volume', volume)
engine.say('I will speak this text')
engine.runAndWait()
This code work ok if my PC is using or other PC remote to my PC.
But if my PC is not using about 1 hour (no touch, no any event), if I run jenkins build from jenkins PC (not my PC), it has no sound at all.
I am using window 10, already set never sleep, fixed speaker for speech to text setting.
lib version: 2.90

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Needs-CheckingPossibly outdated. Needs checking with current latest

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions