Updated to a more reliable weather service for talking-clock.
This commit is contained in:
@ -23,16 +23,16 @@ or
|
||||
paplay
|
||||
Note that with the ogg123 command the aplay command is used for the pico voice. Aplay will not work for the rest of the commands because it does not play ogg files.
|
||||
-c --nochime Turn off chimes.
|
||||
-k --key Your weatherstack.com api key. You can get one for free from weatherstack.com
|
||||
-n --nospeak turn off spoken time.
|
||||
-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.ogg, 30.ogg, and 45.ogg for the quarter-hour chimes.
|
||||
-t --torify anonymously get your current temperature, used with -z --zipcode.
|
||||
-v --voice Select voice. Default is espeak other options are
|
||||
cepstral, espeak, festival, flite, flite_time, gama_tts, googletts (requires the translate-shell package), pico, sam, speech-dispatcher and custom.
|
||||
If your tts files for gama_tts are somewhere other than /usr/local/share/gama_tts/data/english/ then you can specify it in your ~/.config/talking-clock/talking-clockrc. Just do gama_tts_path="/path/to/tts/vtmN where N is the number you want.
|
||||
To set a custom voice enter the command as in:
|
||||
-v 'espeak -v en-us+klatt2'
|
||||
zipcode and flite_time are incompatable. If you have zipcode set the temperature will not be read while using flite_time.
|
||||
-z --zipcode Postal code: Will speak the temperature along with the time so long as you do not have nospeak set. E.G. -z 90210
|
||||
-z --zipcode Postal code: Will speak the temperature along with the time so long as you do not have nospeak set. E.G. -z 90210.
|
||||
|
||||
talking clock can also read settings from the following files?
|
||||
/etc/talking-clockrc global settings
|
||||
@ -47,7 +47,6 @@ soundpack=/home/USER/thunderstorm
|
||||
chime=true
|
||||
speak=true
|
||||
zipcode=90210
|
||||
torify=true
|
||||
Soundpack should be the path to a directory. Do not include the trailing / talking-clock adds it for you.
|
||||
voice=espeak -v en-us+klatt2 -s 300
|
||||
Be careful when using custom voice commands, if it is not valid the program will not work. You do not have to specify parameters for voice commands if you want to use the defaults. You can use voice=espeak (this is the default), voice=cepstral, voice=speech-dispatcher, voice=pico, or voice=festival.
|
||||
|
Reference in New Issue
Block a user