11 lines
193 B
Bash
Executable file
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
|