TEXT TO SPEECH CONVERTER

Please if you like my content Please do not forget to support this channel on PayPal now for $1 only! Or less 

 import speech_recognition as sr

import pyttsx3


r = sr.Recognizer()


def SpeakText(command):
# Initialize the engine
engine = pyttsx3.init()
engine.say(command)
engine.runAndWait()



texting = input("Write something ")
SpeakText(texting)

No comments:

Post a Comment

Drawing App For Kivy

  Below here is the source code for Drawing Application for kivy. Please if you like this content.  Don't forget to Subscribe to my YouT...