Files
speaking-clock/asterisk/speakingclock.conf.sample
T
Claude 24d168474c macintalk: speak the PlainTalk voices Agnes, Bruce and Victoria
The PlainTalk (MacinTalk Pro) voices are recorded diphones. plaintalk.c
reads a voice's 'gtss' 3 data: the two 50 x 50 diphone tables, the
period lengths, the codebook, and the coded periods, each the signal a
period plus a lag back plus gain times codebook vectors. It joins the
half-diphones with the text front end, timing and pitch macintalk already
has. docs/plaintalk-format.md describes the data; no Apple code is used.

tools/fetch-macintalk.py also fetches a Mac OS 8.6 disk image from the
Internet Archive (pinned by SHA-256; it needs unar or unrar to unpack) and
writes agnes.gtss, bruce.gtss and victoria.gtss. The high quality voices
are coded differently and are left out for now.

tools/synth_voices.py gets a plaintalk engine, and voices/ the three
live-plaintalk-* voices. Whisper (base.en) gets the clock sentence word
for word from all three; over ten test sentences about 30-40% of words
are wrong.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRAKCKq1gSHpownvFE
2026-11-11 01:58:08 +00:00

40 lines
1.4 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, SAM and MacInTalk voices run the synthesiser on this
; machine, with no server. Default: dectalk, sam and macintalk, found on
; the PATH. macintalk is synth/macintalk in this repository (it speaks the
; MacInTalk 3 and the PlainTalk voices).
;tts_program_dectalk=/opt/dectalk/say
;tts_program_sam=/usr/local/bin/sam
;tts_program_macintalk=/usr/local/bin/macintalk
; 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