Program for converting text.txt file into an audio file, created for offline aid during my first year at XAMK UAS, Bachelor of Engineering.
Library and CLI tool to interface with Google Translate text-to-speech API:
pip install gTTS
Clone Repository:
git clone https://github.com/damakes/Text-To-Speech.git
- Save the information you want to convert into an audio file to
text.txt
file. - Run the following command in the command line interface (CLI):
python text_to_speech.py
- Open the audio file
text_to_speech.mp3
to listen to the information.