From d19b5bbeda9eb4a7e003dd7411dd96184f834e96 Mon Sep 17 00:00:00 2001 From: cookie Date: Thu, 9 Aug 2007 16:45:46 +0000 Subject: Files aktualiesiert git-svn-id: svn://svn.cccv.de/engel-system@231 29ba0400-6e00-0410-a75a-ca02368028f8 --- default-conf/etc/festival.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 default-conf/etc/festival.scm (limited to 'default-conf/etc/festival.scm') diff --git a/default-conf/etc/festival.scm b/default-conf/etc/festival.scm new file mode 100644 index 00000000..d39be33e --- /dev/null +++ b/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