Created
August 9, 2013 08:04
-
-
Save piksel/6191924 to your computer and use it in GitHub Desktop.
Say stuff in swedish, using googles speech engine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
URL_PRE="https://translate.google.com/translate_tts?tl=sv&ie=UTF-8&q=" | |
USER_AGENT="Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0" | |
wget -q -U "$USER_AGENT" -O - "$URL_PRE$@$URL_POST" | mpg123 -q - & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment