How to convert text to speech using python ,gtts , google api

Published: 05 July 2018
on channel: Coders Palace
36,429
430

Text to speech converter is a great technology which is now a days used in many software. In this video i have explained how to convert text to speech using gTTS i.e google text to speech library and python. This python video tutorial explains how can a simple text or file containing text can be converted into text and stored as a audio.

github link:https://github.com/tdsk15041995/coder...

facebook group:  / coderspalaceyoutubechannel  

linked in:   / saurabh-tiwari-821120156  

Note: Make sure that you have an active internet connection

Steps for converting text to speech:

step 0: Download and install gtts using pip install gTTS

step 1: call the gTTS function ...first parameter is the text to be converted to speech,second parameters specifies the language of the text and the third parameter specifies the speed of the speech/audio(slow,normal)

step 2: store this speech as a audio file using save function

step 3: Double click the audio file to hear the converted speech


On this page of the site you can watch the video online How to convert text to speech using python ,gtts , google api with a duration of hours minute second in good quality, which was uploaded by the user Coders Palace 05 July 2018, share the link with friends and acquaintances, this video has already been watched 36,429 times on youtube and it was liked by 430 viewers. Enjoy your viewing!