config/scripts/speech.sh

4 lines
178 B
Bash
Raw Normal View History

2019-05-17 12:49:42 +02:00
#!/bin/bash
say() { local IFS=+;/usr/bin/mplayer -ao alsa -really-quiet -noconsolecontrols "http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&q=$*&tl=en"; }
say $*