mirror of
https://github.com/D-Modem/speaking-clock.git
synced 2026-11-28 20:48:04 -08:00
synth/mssam reads the voice data of Microsoft's Speech API 4 voices and speaks with it: the voice's context trees pick a recorded unit for each sound, and the units are joined with new pitch (from the voice's tone table) and timing. No Microsoft code is used or run. tools/fetch-mssam.py downloads msttsl.exe at build time and keeps only the voice data. docs/mssam-format.md describes the data. Adds live-mssam-sam, -mike and -mary, and an mssam engine in tools/synth_voices.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRVXG9MBYPxmcs9cFxs
37 lines
1.3 KiB
Plaintext
37 lines
1.3 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
|
|
|
|
; The live Microsoft Sam, Mike and Mary voices run synth/mssam (default:
|
|
; mssam, found on the PATH).
|
|
;tts_program_mssam=/usr/local/bin/mssam
|