ttsscripts

misc scripts
git clone https://0x1A4.1337.cx/code2/ttsscripts.git
Log | Files | Refs | LICENSE

commit c2330ad7f1bb692481a2b1e90dd03978babf9e78
parent ae50d1788318d2449fa977e046fac945e959faa1
Author: tx <trqx@goat.si>
Date:   Sun Mar 19 10:27:34 +0000

update with ircspeak / mailspeak

Diffstat:
README.md | 2++
ircspeak.sh | 10++++++++++
mailspeak.sh | 10++++++++++
3 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -1,3 +1,5 @@ +this is a personal repo meant as a backup, probably useless to others + pipe text to one of the script to make a computer speak with in a robot voice # requirements diff --git a/ircspeak.sh b/ircspeak.sh @@ -0,0 +1,10 @@ +#!/bin/bash +ircpipe | \ +while read -r; do + espeak --stdout -s120 -k18 -a200 -v 'fr+f5' "$REPLY" | play -t wav - \ + chorus 0.4 0.8 20 0.5 0.10 2 -t \ + echo 0.9 0.8 33 0.9 \ + echo 0.7 0.7 10 0.2 \ + echo 0.9 0.2 55 0.5 \ + gain 25 & +done diff --git a/mailspeak.sh b/mailspeak.sh @@ -0,0 +1,10 @@ +#!/bin/bash +tailimap | \ +while read -r; do + espeak --stdout -s120 -k18 -a200 -v 'en+f5' "$REPLY" | play -t wav - \ + chorus 0.4 0.8 20 0.5 0.10 2 -t \ + echo 0.9 0.8 33 0.9 \ + echo 0.7 0.7 10 0.2 \ + echo 0.9 0.2 55 0.5 \ + gain 25 & +done