Skip to content

Instantly share code, notes, and snippets.

@dconroy
Last active August 29, 2015 14:04
Show Gist options
  • Save dconroy/94ee889a0df0a0e7d479 to your computer and use it in GitHub Desktop.
Save dconroy/94ee889a0df0a0e7d479 to your computer and use it in GitHub Desktop.
stt.sh
#DaveConroy.com
#7/4//14
#stt.sh
#part 1
echo "Recording your Speech (Ctrl+C to Transcribe)"
arecord -D plughw:0,0 -f cd -t wav -d 0 -q -r 16000 | flac - -s -f --best --sample-rate 16000 -o daveconroy.flac;
#part 2
python text-to-translate.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment