How to use pyttsx3
import pyttsx3
engine = pyttsx3.init()
engine.setProperty("rate", 178)
engine.say("I am the text spoken after changing the speech rate.")
engine.runAndWait()
4.17
6
import pyttsx3
engine = pyttsx3.init()
engine.say("I will speak this text")
engine.runAndWait()
Thank you!
6
0
Are there any code examples left?
New code examples in category Other