Files
speaking-clock/core/Makefile
T
Claude 4b672939d6 Add mod_speakingclock for FreeSWITCH
The speakingclock dialplan application: the same voices, options and
second-accurate timing as Asterisk's SpeakingClock(), including the live
synthesiser voices (mode=tts).

- core/: the clock itself, ported from app_speakingclock with Asterisk's
  APIs taken out (libc, libm and pthreads only), and sclock-render, which
  writes what a caller would hear without a PBX.  Its output matches
  Asterisk's "speakingclock render" sample for sample.
- freeswitch/: mod_speakingclock, its Makefile, speakingclock.conf.xml
  and a dialplan example.  API: speakingclock voices | render | reload.
- test/render_test.py runs against FreeSWITCH with PBX=freeswitch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRNr2N8eMYr1uzZqwk
2026-11-11 04:21:38 +00:00

20 lines
483 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# sclock-render: what a speaking clock caller would hear, without a PBX.
#
# make
# ./sclock-render -v ../voices tim-pat-simmons 1762791295 30 out.sln Europe/London
# ./sclock-render -v ../voices -l
CFLAGS ?= -g -O2
CFLAGS += -Wall -pthread
all: sclock-render
sclock-render: sclock-render.c speakingclock.c speakingclock.h
$(CC) $(CFLAGS) -o $@ sclock-render.c speakingclock.c -lm
clean:
rm -f sclock-render
.PHONY: all clean