Answers for "gTTS text to speech"

5

gtts

>>> from gtts import gTTS
>>> tts = gTTS('hello')
>>> tts.save('hello.mp3')
Posted by: Guest on September-03-2020
0

how to make gtts text to speech converter

from gtts import gTTS
import os 

text = " python is the most easiest programing language "

language = "en-us"
roh = gTTS( text = text , lang = language , slow = False)
roh.save("play.mp3")
os.system(" start play.mp3")
Posted by: Guest on May-06-2021

Code answers related to "gTTS text to speech"

Python Answers by Framework

Browse Popular Code Answers by Language