/textToAudio

Voices the text using the module gTTS

Primary LanguagePython

image

TextToAudio

Voices the text using the module

This script converts tex to audio using the gtts module. To run the program, you need to place it next to main.py a text.txt file and run the program. The output will be an audio file audio.mp3 with a sound track voicing text

For an example of the program's operation, a text file with the text '123' and an mp3 audio track in Russian have been added

Options

To change the voice language, you need to change lang='ru' to lang='en' or any other language 88е