mirror of
https://github.com/D-Modem/speaking-clock.git
synced 2026-11-28 20:48:04 -08:00
- tools/synth_voices.py makes clip voices from speech synthesisers (SAPI4 via tetyys.com, DECtalk, SAM, MacInTalk), and live voices. - Eight SAPI4 clip voices: Microsoft Sam, Mike, Mary, Mike for Telephone, BonziBUDDY, TruVoice male and female, RoboSoft One. - mode=tts: the module runs a synthesiser program on the Asterisk machine for each announcement's whole sentence, in a worker thread and ahead of time, so a call never waits on it. live-dectalk-* and live-sam-* voices; tts_program_* and tts_timeout settings, also in the FreePBX module. - module reload now rereads the voices even when speakingclock.conf is unchanged. - tools/voice_index.py writes voices/INDEX.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRVXG9MBYPxmcs9cFxs
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
; speakingclock.conf - app_speakingclock, the SpeakingClock() application
|
|
;
|
|
; In extensions.conf, for example:
|
|
;
|
|
; exten => 123,1,SpeakingClock(tim-pat-simmons,t(Europe/London))
|
|
; exten => 1194,1,SpeakingClock(tim-gordon-gow,t(Australia/Sydney))
|
|
; exten => 767,1,SpeakingClock(atandt-mike,t(America/Los_Angeles)d(300))
|
|
;
|
|
; "speakingclock show voices" lists the voices. "module reload
|
|
; app_speakingclock" rereads this file and the voices.
|
|
|
|
[general]
|
|
; Where the voice folders are. Default: <astdatadir>/sounds/speaking-clock
|
|
;voicedir=/var/lib/asterisk/sounds/speaking-clock
|
|
|
|
; The voice used when SpeakingClock() is given none.
|
|
;default_voice=tim-pat-simmons
|
|
|
|
; The time zone used when the t() option is not given. Default: the
|
|
; system's.
|
|
;timezone=Europe/London
|
|
|
|
; Hang up after this many seconds (0: never). The d() option overrides it.
|
|
;maxduration=180
|
|
|
|
; The live DECtalk and SAM voices run the synthesiser on this machine, with
|
|
; no server. Default: dectalk and sam, found on the PATH.
|
|
;tts_program_dectalk=/opt/dectalk/say
|
|
;tts_program_sam=/usr/local/bin/sam
|
|
|
|
; Seconds a synthesiser program may take before it is stopped.
|
|
;tts_timeout=15
|