Is there a way to decrease the time between two engine.say()
s in pyttsx3? I want my program to speak words individually so that I can vary the time between each word, but I have not found a way to do this. Here is my current code which does not really do anything, just says each word after the last.
import pyttsx3
engine = pyttsx3.init()
engine.say('Next word')
engine.say('Next word')
engine.say('Next word')
engine.say('Next word')
engine.say('Next word')
engine.say('Next word')
engine.say('Next word')
engine.say('Next word')
engine.runAndWait()
Regarding the documentation pausing is not provided easily: https://pyttsx3.readthedocs.io/en/latest/engine.html
You could use some
sleep
between eachsay
: