From 6ddc77cb7110ca0b9f1abf4a2381b5715d5ccb8d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 2 Jul 2018 07:38:17 -0400 Subject: [PATCH] Fixed pronounciation with sam. --- src/talking-clock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/talking-clock b/src/talking-clock index d49f3c8..722ffde 100755 --- a/src/talking-clock +++ b/src/talking-clock @@ -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"