master
Michael Murtaugh 5 years ago
parent 3be5e8bb13
commit 37fc125cb8

@ -2,10 +2,9 @@ lineno=0
while read line
do
lineno=$((lineno+1))
espeak "$line"
filename=`printf "speech%04d" $lineno`
espeak "$line" -w "$filename.wav"
ffmpeg -i "$filename.wav" -metadata title="$line" -y $filename.mp3 > /dev/null 2> /dev/null
# rm "$filename.wav"
rm "$filename.wav"
done

Loading…
Cancel
Save