amssdias / python-text-to-speech

Program that plays whatever user writes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text speech with 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 with a button click or finger touch. Text to speech python project is very helpful for people who are struggling with reading.

Pre requisites

Pipfile and Pipfile.Lock

Inside the Pipfile there's all the modules name needed for the project. Download Pipenv through the terminal window (make sure you have Python installed), just type pip install pipenv.

After installing pipenv all you have to do is to download the files and in the terminal window, got to the folder with these files and run pipenv install and automatically will install this modules.

This will create a virtual environment with the modules gTTS and Playsound.

To run this virtual environment all you must do is run pipenv shell and to close the virtual environment exit.

If any doubts here's a link to some more explanations:

Run

  • Download the project, open terminal window on folder with 'text_speech.py' and type:
python text_speech.py

About

Program that plays whatever user writes


Languages

Language:Python 100.0%