Skip to content

bug report Only the first two messages in the queue are played #402

@damiendier

Description

@damiendier

In this program only the first two are played

import pyttsx3
import time


def do_it():
    print("done")


engine = pyttsx3.init()
#voices = engine.getProperty('voices')

#engine.setProperty('voice', voices[1].id)
engine.connect(topic="finished-utterance", cb=do_it)
engine.say("I will speak this text")
engine.say("I will speak this text")
engine.say("I will speak this text")
engine.runAndWait()
time.sleep(10)

python version 3.12.4
on Windows 10

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