From 49a20487e74aaa2fa17784c6c9d5a6179393e07c Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Sat, 11 Jun 2011 18:10:20 +0200 Subject: move default-config to install dir --- install/default-conf/etc/festival.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 install/default-conf/etc/festival.scm (limited to 'install/default-conf/etc/festival.scm') diff --git a/install/default-conf/etc/festival.scm b/install/default-conf/etc/festival.scm new file mode 100644 index 00000000..d39be33e --- /dev/null +++ b/install/default-conf/etc/festival.scm @@ -0,0 +1,17 @@ +;; Any site-wide Festival initialization can be added to this file. +;; It is marked as a configuration file, so your changes will be saved +;; across upgrades of the Festival package. +;; + + +; Server access list (hosts) +(set! server_access_list '("[^.]+" "127.0.0.1" "localhost.*")) + +;; Command for Asterisk begin +(define (tts_textasterisk string mode) + "(tts_textasterisk STRING MODE) + Apply tts to STRING. This function is specifically designed for + use in server mode so a single function call may synthesize the string. + This function name may be added to the server safe functions." + (utt.send.wave.client (utt.wave.resample (utt.wave.rescale (utt.synth (eval (list 'Utterance 'Text string))) 5) 8000))) + -- cgit v1.2.3-54-g00ecf