A process to convert any text into voice with python
Text to speech (using Python)
Text to speech is a process to convert any text into voice. Text to speech project takes words on digital devices and convert them into audio. Here I have used Google-text-to-speech library popularly known as gTTS library to convert text file to .mp3 file. The gTTS library supports several languages including English, Hindi, Tamil, French, German and many more. And before getting started in this project you have to install couple of python libraries like gTTS and playsound. In order to download the libraries, open your terminal and write (pip install gtts) and (pip install playsound).
In this project I have written the description of each line of code, this will make you clear with the coding section! I have attached