I want the Microsoft David Voice for my pyttsx3 module. I wrote the following code. With voices[0].id it is giving Zira (Female voice) and when I use voices[1]
I want the Microsoft David Voice for my pyttsx3 module. I wrote the following code. With voices[0].id it is giving Zira (Female voice) and when I use voices[1]
So I'm using the pyttsx3 method to convert some text into a file. My code is as such text = open('script.txt','r').read() engine = pyttsx3.init() engine.save_t
My code: import pyttsx3 #sapi5 is default windows voice api engine = pyttsx3.init('sapi5') voices = engine.getProperty('voices') print(voic