Created
April 11, 2018 19:43
-
-
Save crypto-jeronimo/2e647c45b5f8acfd94dee955d1f757be to your computer and use it in GitHub Desktop.
Text-to-Speech generation in Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requires: gtts | |
# $ pip install --user --upgrade gtts | |
from gtts import gTTS | |
tts = gTTS(text='Hi! My name is Xora. Nice to meet you all!', lang='en-us', slow=False) | |
tts.save("xora_intro.mp3") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment