pyBegin / projects / text-to-speech
🔊

Text-to-Speech

9 lines🖥 Desktop only

Text-to-Speech

Example

python main.py

The script converts the text "Hacktoberfest" to speech using the gTTS library, saves it as result.mp3 in the current directory, and opens the file in the system's default audio player so the spoken word is heard immediately.

Note:

Dependencies: