More adjustment with sam voice.

This commit is contained in:
Storm Dragon 2018-07-03 22:06:19 -04:00
parent dfb19c04c7
commit 3f8938d0d7

View File

@ -405,7 +405,7 @@ if [ "$speakTime" == "true" ] ; then
flite_time $(date +'%H:%M') &> /dev/null
;;
"sam")
sam "$(echo "$timeString" | sed -e 's/A M/ AY EM/' -e 's/PM/ PEE EM/')"
sam "$(echo "$timeString" | sed -e 's/A M/ AY EM/' -e 's/PM/ PEE EM/' -e 's/10/ ten /g' -e 's/0*//g')"
;;
"speech-dispatcher")
spd-say -w -P important "$timeString"