|
|
7b3626 |
diff -ur festival.orig/lib/init.scm festival/lib/init.scm
|
|
|
7b3626 |
--- festival.orig/lib/init.scm 2004-07-15 19:03:04.000000000 -0400
|
|
|
7b3626 |
+++ festival/lib/init.scm 2007-03-15 11:58:09.000000000 -0400
|
|
|
7b3626 |
@@ -55,6 +55,10 @@
|
|
|
7b3626 |
(if (probe_file (path-append libdir "sitevars.scm"))
|
|
|
7b3626 |
(load (path-append libdir "sitevars.scm")))
|
|
|
7b3626 |
|
|
|
7b3626 |
+(if (probe_file "/etc/festival/sitevars.scm")
|
|
|
7b3626 |
+ (load "/etc/festival/sitevars.scm"))
|
|
|
7b3626 |
+
|
|
|
7b3626 |
+
|
|
|
7b3626 |
;;; CSTR siod extensions
|
|
|
7b3626 |
(require 'cstr)
|
|
|
7b3626 |
|
|
|
7b3626 |
@@ -98,7 +102,7 @@
|
|
|
7b3626 |
(t ;; can't find direct support so guess that /dev/audio for 8k ulaw exists
|
|
|
7b3626 |
(Parameter.def 'Audio_Method 'sunaudio)))
|
|
|
7b3626 |
;;; If you have an external program to play audio add its definition
|
|
|
7b3626 |
-;;; in siteinit.scm
|
|
|
7b3626 |
+;;; in ~/.festivalrc or /etc/festival/siteinit.scm
|
|
|
7b3626 |
|
|
|
7b3626 |
;;; The audio spooler doesn't work under Windows so redefine audio_mode
|
|
|
7b3626 |
(if (member 'mplayeraudio *modules*)
|
|
|
7b3626 |
@@ -135,9 +139,13 @@
|
|
|
7b3626 |
;;;
|
|
|
7b3626 |
;;; Local site initialization, if the file exists load it
|
|
|
7b3626 |
;;;
|
|
|
7b3626 |
+
|
|
|
7b3626 |
(if (probe_file (path-append libdir "siteinit.scm"))
|
|
|
7b3626 |
(load (path-append libdir "siteinit.scm")))
|
|
|
7b3626 |
|
|
|
7b3626 |
+(if (probe_file "/etc/festival/siteinit.scm")
|
|
|
7b3626 |
+ (load "/etc/festival/siteinit.scm"))
|
|
|
7b3626 |
+
|
|
|
7b3626 |
;;; User initialization, if a user has a personal customization
|
|
|
7b3626 |
;;; file loaded it
|
|
|
7b3626 |
(if (probe_file (path-append home-directory ".siodrc"))
|
|
|
7b3626 |
diff -ur festival.orig/lib/voices.scm festival/lib/voices.scm
|
|
|
7b3626 |
--- festival.orig/lib/voices.scm 2005-05-02 10:20:37.000000000 -0400
|
|
|
7b3626 |
+++ festival/lib/voices.scm 2007-03-15 12:00:19.000000000 -0400
|
|
|
7b3626 |
@@ -45,12 +45,12 @@
|
|
|
7b3626 |
(defvar system-voice-path '( )
|
|
|
7b3626 |
"system-voice-path
|
|
|
7b3626 |
Additional directory not near the load path where voices can be
|
|
|
7b3626 |
- found, this can be redefined in lib/sitevars.scm if desired.")
|
|
|
7b3626 |
+ found, this can be redefined in /etc/festival/sitevars.scm if desired.")
|
|
|
7b3626 |
|
|
|
7b3626 |
(defvar system-voice-path-multisyn '( )
|
|
|
7b3626 |
"system-voice-path-multisyn
|
|
|
7b3626 |
Additional directory not near the load path where multisyn voices can be
|
|
|
7b3626 |
- found, this can be redefined in lib/sitevars.scm if desired.")
|
|
|
7b3626 |
+ found, this can be redefined in /etc/festival/sitevars.scm if desired.")
|
|
|
7b3626 |
|
|
|
7b3626 |
(defvar voice-path
|
|
|
7b3626 |
(remove-duplicates
|