Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python text to speech

import pyttsx3

engine = pyttsx3.init("sapi5")
engine.setProperty('rate', 150)
voices = engine.getProperty('voices')
engine.setProperty('voice', voices[0].id)
engine.say("say something")
engine.runAndWait()
Source by github.com #
 
PREVIOUS NEXT
Tagged: #python #text #speech
ADD COMMENT
Topic
Name
5+7 =