Skip to content

Instantly share code, notes, and snippets.

@sentenza
Created February 25, 2013 11:25
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 sentenza/5029222 to your computer and use it in GitHub Desktop.
Save sentenza/5029222 to your computer and use it in GitHub Desktop.
This script use google translate to speak in italian via mplayer. Example $ ./say.sh Ciao Mondo
#!/bin/bash
say()
{
mplayer -really-quiet -ao alsa "http://translate.google.com/translate_tts?tl=it&q=$*"
}
say $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment