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

Publié le: 05 juillet 2018
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne How to convert text to speech using python ,gtts , google api durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Coders Palace 05 juillet 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 36,429 fois et il a aimé 430 téléspectateurs. Bon visionnage!