Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@r1b4z01d
Created April 10, 2013 01:11
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 r1b4z01d/5350927 to your computer and use it in GitHub Desktop.
Save r1b4z01d/5350927 to your computer and use it in GitHub Desktop.
Google Speech Shell Script
#!/bin/bash
say() { local IFS=+;/usr/bin/mplayer -ao alsa -noconsolecontrols "http://translate.google.com/translate_tts?tl=en&q=$*"; }
say $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment