My code:
import pyttsx3
import random
engine = pyttsx3.init()
words = ['hello', 'word']
engine.say(random.choice(words)) #Say these words slower
I don't want it to go really slow just slow enough to be easy for a non native speaker to undersatnd the words in the words list. Also if it is impossible to do it using the pyttsx module can you suggest a module that can do that?
newVoiceRate = 145
engine.setProperty('rate',newVoiceRate)