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
- 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
app_speakingclock adds SpeakingClock(), which places each announcement by
sample against the system clock, so the time mark (the third pip) lands on
the second it announces, as on the real machines. Voices are folders of
8 kHz WAV clips with a voice.conf; the module supports TIM-style
(phrase, hour, minute, seconds, pips), talking-clock, chime and hourly
voices.
voices/ holds the asterisk-tim pair (Pat Simmons, Gordon Gow), garrysblog's
Amy and Celine, and the Steve's Talking Clock library, converted by
tools/build_voices.py from what tools/fetch-sources.sh downloads. The
recordings belong to their original owners (NOTICE.md); the code is
GPL-2.0-or-later.
freepbx/speakingclock is a FreePBX module: clocks as destinations, with
optional numbers to dial, and speakingclock.conf from its settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVXG9MBYPxmcs9cFxs