Skip to content

Instantly share code, notes, and snippets.

Created February 28, 2013 16:54
Show Gist options
  • Save anonymous/5058178 to your computer and use it in GitHub Desktop.
Save anonymous/5058178 to your computer and use it in GitHub Desktop.
Download MP3 audio from Google Translate for german words
#!/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