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/crontab | 2 +- default-conf/etc/festival.scm | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 default-conf/etc/festival.scm (limited to 'default-conf/etc') diff --git a/default-conf/etc/crontab b/default-conf/etc/crontab index 550f9a02..a63f1238 100644 --- a/default-conf/etc/crontab +++ b/default-conf/etc/crontab @@ -1 +1 @@ -*/15 * * * * www-data (cd /var/www.ssl/admin ; php4 dect_cron.php) +*/15 * * * * www-data (cd /home/engel-system/services ; php4 cron_dect.php) 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-70-g09d2