summaryrefslogtreecommitdiff
path: root/install/default-conf/etc/festival.scm
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-11 18:10:20 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-11 18:10:20 +0200
commit49a20487e74aaa2fa17784c6c9d5a6179393e07c (patch)
tree3ace8aa439becc53f7187367a425ab3be1099169 /install/default-conf/etc/festival.scm
parent946c230e6f8e04c7dd8f92ca3190a51ac220f0ca (diff)
move default-config to install dir
Diffstat (limited to 'install/default-conf/etc/festival.scm')
-rw-r--r--install/default-conf/etc/festival.scm17
1 files changed, 17 insertions, 0 deletions
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)))
+