Skip to content

Instantly share code, notes, and snippets.

Created September 19, 2013 15:25
Show Gist options
  • Save anonymous/6625153 to your computer and use it in GitHub Desktop.
Save anonymous/6625153 to your computer and use it in GitHub Desktop.
Fish function for google tts
function tts
set q $argv;
mplayer "http://translate.google.com/translate_tts?ie=UTF-8&q=$q&tl=en&textlen="(math (echo "$q" | wc -m) - 1)"idx=0&total=1&prev=input";
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment