TEXT TO SPEECH FRIEND

 HEY...

THIS IS A CODE TO MAKE COMPUTER SPEAK YOUR TEXT..

YOU WILL HAVE TO INSTALL SOME MODULES 

MAKE SURE THAT BEFORE CREATING THIS PROJECT YOU HAVE INSTALLED THESE TWO MODULES BY USING PIP OR ELSE.

pyttsx3 and speech_recognition

SOURCE CODE:

import pyttsx3
import speech_recognition as sr
friend = pyttsx3.init()
speech = input ("Say Something: ")
friend.say(speech)
friend.runAndWait()


Comments

Popular posts from this blog

Artificial Intelligence with PYTHON (Jarvis)

EYE CONTROLLED MOUSE

SNAKE GAME BY AVI