config/scripts/speech.sh
2019-05-17 12:50:01 +02:00

4 lines
178 B
Bash
Executable File

#!/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 $*