Skip to content

Instantly share code, notes, and snippets.



Created Nov 12, 2018
What would you like to do?
Using Google Text to Speech (TTS) in Linux CLI
# gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate's text-to-speech API
pipsi install gTTS
sudo apt install mpg123
say() {
gtts-cli "$@" | mpg123 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.