Created
February 28, 2013 16:54
-
-
Save anonymous/5058178 to your computer and use it in GitHub Desktop.
Download MP3 audio from Google Translate for german words
This file contains hidden or 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 | |
# write an English text string as an audio file using Google Translate | |
# usage: en2audio.sh <text> | |
wget -q -U Mozilla -O "german-$*.mp3" "http://translate.google.com/translate_tts?ie=UTF-8&tl=de&q=$*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment