#unwrap is good for reflowing gutenberg books in .txt format, no guarantees it won't puke on other types of files #echo "cat $* | sed 's/^$/~~~P/' | tr '\n' ' ' | sed 's/~~~P/\n\n/g'" > ~/bin/unwrap ; chmod a+x unwrap unwrap alice | sed 's/;/;\n/g' | sed 's/:/:\n/g' | sed 's/!/!\n/g' | sed 's/`/\n`/g'| \ sed 's/*//g' | sed 's/_//g' | \ while read line ; do echo $line; flite --setf int_f0_target_mean=200 --setf int_f0_target_stddev=50 --setf duration_stretch=.8 -o "play" -t "$line" ; done