better speak-like-a-robot

This commit is contained in:
Felix Van der Jeugt 2017-08-30 11:56:06 +02:00
parent a06881d9ed
commit d5a288150a
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -1,6 +1,6 @@
#!/bin/bash
while read -ep"say> " line; do
history -s "$line"
{ espeak -w >(mpv -) "$line"; } > /dev/null 2>&1
{ espeak -s120 "$@" "$line"; } > /dev/null 2>&1
done
echo