Added sam to possible voices.

This commit is contained in:
Storm Dragon 2018-07-01 21:04:49 -04:00
parent 784abef2fa
commit e4ed81082e

View File

@ -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 -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. 15, 30, and 45.oggfor the quarter-hour chimes.
-v --voice Select voice. Default is espeak other options are -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: To set a custom voice enter the command as in:
-v 'espeak -v en-us+klatt2' -v 'espeak -v en-us+klatt2'
-t --torify retrieve temperature anonymously using torify, used with -z --zipcode -t --torify retrieve temperature anonymously using torify, used with -z --zipcode
@ -404,6 +404,9 @@ if [ "$speakTime" == "true" ] ; then
"flite_time") "flite_time")
flite_time $(date +'%H:%M') &> /dev/null flite_time $(date +'%H:%M') &> /dev/null
;; ;;
"sam")
echo "$timeString" | sam
;;
"speech-dispatcher") "speech-dispatcher")
spd-say -w -P important "$timeString" spd-say -w -P important "$timeString"
;; ;;