hipporion/gen_hr.sh
2019-10-01 19:01:56 +02:00

11 lines
193 B
Bash
Executable file

#!/bin/bash
i=0
grep . hr.txt | while read line; do
i=$((i+1))
echo ">> [$i] $line"
fn=hr/$(printf %03d $i).wav
if [[ -e "$fn" ]]; then continue; fi
./tts.sh "$line" "$fn"
sleep 10
done