Good4lien / textToAudio

Voices the text using the module gTTS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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е

About

Voices the text using the module gTTS


Languages

Language:Python 100.0%