text to speech python
pip install pyttsx3
import pyttsx3
engine = pyttsx3.init()
engine.say("Whetever you want the program to ray")
engine.runAndWait()
text to speech python
pip install pyttsx3
import pyttsx3
engine = pyttsx3.init()
engine.say("Whetever you want the program to ray")
engine.runAndWait()
how to make text to speech in python
pip install pyttsx3
import pyttsx3 # you have to import py for python tts means text to speech and 3 for version 3
speaker = pyttsx3.init() # congrats you have initialized a text to speech object
speaker.say('The text you want') # he will not say the word he will just store the word he have to say'
speaker.runAndWait() # this means he have to speak the text which he have stored previously
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us