aboutsummaryrefslogtreecommitdiff
path: root/tts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tts.sh')
-rwxr-xr-xtts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tts.sh b/tts.sh
index 089ca33..83e8737 100755
--- a/tts.sh
+++ b/tts.sh
@@ -3,6 +3,6 @@
grep --line-buffered -F "[CHATTTS]"|grep --line-buffered -F "<"|while read line
do
pitch=$(echo $line|awk -F"[<>]" '{print $2}'| sha256sum | grep -Eo "[[:digit:]]{2}" | head -n1)
- msg=$(echo $line|sed 's/@#[A-Za-z0-9]\{6\})//g;s/^[^>]*>//')
+ msg=$(echo $line|sed 's/^[^>]*>//')
echo $msg|espeak -p $pitch
done