From e4ed81082ebd5a62c8c4ee298f9ca7d9289c69a9 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 1 Jul 2018 21:04:49 -0400 Subject: [PATCH] Added sam to possible voices. --- src/talking-clock | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/talking-clock b/src/talking-clock index 60b2e31..8c68998 100755 --- a/src/talking-clock +++ b/src/talking-clock @@ -19,7 +19,7 @@ half-hour, 4 every quarter, and anything else will delete your existing settings -s --soundpack Set path to soundpack. Sound packs should be in ogg format and contain 1.ogg, 2.ogg, ... 11.ogg, 12.ogg and 15, 30, and 45.oggfor the quarter-hour chimes. -v --voice Select voice. Default is espeak other options are -cepstral, espeak, festival, pico, speech-dispatcher and custom. +cepstral, espeak, festival, pico, sam, speech-dispatcher and custom. To set a custom voice enter the command as in: -v 'espeak -v en-us+klatt2' -t --torify retrieve temperature anonymously using torify, used with -z --zipcode @@ -404,6 +404,9 @@ if [ "$speakTime" == "true" ] ; then "flite_time") flite_time $(date +'%H:%M') &> /dev/null ;; + "sam") + echo "$timeString" | sam + ;; "speech-dispatcher") spd-say -w -P important "$timeString" ;;