Text to Speech Convertor

Simple but Useful Python GUI Text-To-Speech Convertor


This is the code program that will convert your text file to Audio File using Google TTS.

I had created this GUI Program.

It is a simple program to be used, than many which are complicated.

 

Here's How : -

 

e16fec434d81788471176f5c095869964820f2a6c3770ca45818e3f0498e4330.png

 

When, u run this code, it will open a GUI window like above,

 

The 'BEST' part of this program is you don't need to run by command line or input whole text file path and output mp3 file path.

 

You will have options for both -

 

1- Input Text File = By clicking on Browse Button next to this field, you can select the text file in another window, that will open, then after selection, it will automatically enter the path of the file.

 

After this,

 

2-Output MP3 File = This is where, you want to save your output - mp3 file, which will be generated using Google TTS. By clicking on Browse Button next to this field, you can select and name the output file in another window, that will open, then after selection, it will automatically enter the path of the file.

 

After This -

 

When you click on Convert Button, The 'Background MAGIC' works.

It connects to the Google Server Text to Speech (TTS), which converts your whole text file into audio file of mp3 format.

 

Till Now, it only works with English text files and also convert it into English audio file, in Female Voice.

 

Why only English?

 

Ans- Because, as we know English is universally accepted language, so this programs will be useful to many of you, weather you are in home or in your Job.

 

#programming #python #simplepythonprogram

How do you rate this article?

4


Aditya Madhok
Aditya Madhok

Reading & Publishing various blogs for new technologies.


Engineering and Coding
Engineering and Coding

This blog is designed for all people, who want to learn some concepts of engineering and do some coding. Also, it will include various hacks to do coding and I will list some platforms where you can learn for free and compete against people with an interesting way to learn and grow your skills.

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.