mac bash : tts to file from .txt reading by line with gap duration Hint

#!/bin/sh #ttsTXT.sh TNM01-01 155   NAME=$1 RATE=$2 [ “$RATE” = “” ] && RATE=155   cmd=”say -v Yuna -r $RATE -o $NAME.aiff -f $NAME.txt” echo $cmd #eval $cmd   cmd=”lame -m s $NAME.aiff $NAME.mp3″ echo $cmd #eval $cmd     MF=$2; N=0; FS=””;   sed -e $’s/[.] */\\\n/g’  $NAME.txt > ${NAME}_tts.txt   while read line; […]

Read More