Skip to content

Commit

Permalink
Fixed pronounciation with sam.
Browse files Browse the repository at this point in the history
  • Loading branch information
stormdragon2976 committed Jul 2, 2018
1 parent 627cf7e commit 6ddc77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/talking-clock
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ if [ "$speakTime" == "true" ] ; then
flite_time $(date +'%H:%M') &> /dev/null
;;
"sam")
sam "$timeString"
sam "$(echo "$timeString" | sed -e 's/A M/ AY EM/' -e 's/PM/ PEE EM/')"
;;
"speech-dispatcher")
spd-say -w -P important "$timeString"
Expand Down

0 comments on commit 6ddc77c

Please sign in to comment.