diff options
| author | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2026-04-22 18:20:19 +0200 |
|---|---|---|
| committer | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2026-04-22 18:20:19 +0200 |
| commit | 2a8acb24d9da318ebe9aeebc64538ec88578900a (patch) | |
| tree | 967a9f5a3ce790ac0680f899f2c161c4ebf16e5b | |
| parent | f2dbf0287bce2db29c21e2fc9311f379993b5a58 (diff) | |
| -rwxr-xr-x | tts.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ 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/^[^>]*>//') - echo $msg|espeak -p $pitch + pitch=$(echo "$line"|awk -F"[<>]" '{print $2}'| sha256sum | grep -Eo "[[:digit:]]{2}" | head -n1) + msg=$(echo "$line"|sed 's/^[^>]*>//') + echo "$msg"|espeak -p $pitch done |
