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" ;;