How to Convert Text to Speech in Python | Text to Speech Conversion using python

Published: 21 December 2019
on channel: Falcon Infomatic
1,916
36

Introduction:
There are several APIs available to convert text to speech in Python. One of such APIs is the Google Text to Speech API commonly known as the gTTS API. gTTS is a very easy to use tool which converts the text entered, into audio which can be saved as an mp3 file.

The gTTS API supports several languages including English, Hindi, Tamil, French, German and many more. The speech can be delivered at any one of the two available audio speeds, fast or slow. However, as of the latest update, it is not possible to change the voice of the generated audio.

Installation:
To install the gTTS API, open Command prompt ( cmd ) and write
✍🏻 pip install gTTS

This works for any platform.
In Order to avoid errors while running this program do the below steps.
you have to install two things.
1) gtts( google text to speech API)
2) pyaudio.exe file to avoid exceptional error in the program.

Source Code & Link:
Link - https://drive.google.com/drive/folder...

#Texttospeechpython , #Texttospeech , #Texttospeechgoogle , #Gtts , #Googletexttospeech

If you find this video is useful kindly like share and subscribe.
Thank you & Regards
Falcon Infomatic


On this page of the site you can watch the video online How to Convert Text to Speech in Python | Text to Speech Conversion using python with a duration of online in good quality, which was uploaded by the user Falcon Infomatic 21 December 2019, share the link with friends and acquaintances, this video has already been watched 1,916 times on youtube and it was liked by 36 viewers. Enjoy your viewing!