Skip to content

Instantly share code, notes, and snippets.

@crypto-jeronimo
Created April 11, 2018 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crypto-jeronimo/2e647c45b5f8acfd94dee955d1f757be to your computer and use it in GitHub Desktop.
Save crypto-jeronimo/2e647c45b5f8acfd94dee955d1f757be to your computer and use it in GitHub Desktop.
Text-to-Speech generation in Python
# 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