30-Days-of-AI-ML / Playing-with-Python-Project-1

This is the day 1 project which involves playing with some easily deployble python libraries
GNU General Public License v3.0
0 stars 21 forks source link

Text to Speech by pyttsx3 #3

Open Anustup900 opened 4 years ago

Anustup900 commented 4 years ago

Write a Python Code by using pyttsx3 that converts Text to speech Use this example for Reference : https://pypi.org/project/pyttsx3/

Follow same pattern like gTTS

hari3693 commented 4 years ago

converts Text to speech

import pyttsx3 engine = pyttsx3.init() text_Val = 'Hello world ' engine.say(text_Val) engine.runAndWait()