summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian TTS team <tts-project@lists.alioth.debian.org>2014-01-13 21:03:21 +0100
committerPaul Gevers <elbrus@debian.org>2017-12-10 22:06:22 +0100
commit77b8536d7298266998ed45c003a9b41a49da31de (patch)
treea47912d47f96a928cbd961d929047ee4e0740ce8
parent8c19ee809d3607c870efe99c8aab5fd4dbb045b6 (diff)
dgit commit quilt patch: paths
only use the default voice dirs and don't complain if the voices are missing Gbp-Pq: Name paths
-rw-r--r--lib/voices/finnish/suo_fi_lj_diphone/festvox/hy_fi_mv_diphone.scm19
1 files changed, 2 insertions, 17 deletions
diff --git a/lib/voices/finnish/suo_fi_lj_diphone/festvox/hy_fi_mv_diphone.scm b/lib/voices/finnish/suo_fi_lj_diphone/festvox/hy_fi_mv_diphone.scm
index dc0bf42..4bf0120 100644
--- a/lib/voices/finnish/suo_fi_lj_diphone/festvox/hy_fi_mv_diphone.scm
+++ b/lib/voices/finnish/suo_fi_lj_diphone/festvox/hy_fi_mv_diphone.scm
@@ -65,21 +65,11 @@
;; The location is stored in variable hy_fi_mv_dir.
;; If it isn't present, the voice is not loaded!
(cond
- ;; 0th: use my absolute path in my www demo
- ((probe_file "/home/nvolk/public_html/cgi-bin/festival/lib/voices/finnish/hy_fi_mv_diphone/festvox/hy_fi_mv_diphone.scm")
- (defvar hy_fi_mv_dir "/home/nvolk/public_html/cgi-bin/festival/lib/voices/finnish/hy_fi_mv_diphone/")
- ;; this one is for my www demo
- (set! suopuhe_output_file_prefix "/home/nvolk/public_html/cgi-bin/lavennin/tmp/"))
;; 1st: try default place in the Festival hierarchy:
((assoc 'hy_fi_mv_diphone voice-locations)
(defvar hy_fi_mv_dir
(cdr (assoc 'hy_fi_mv_diphone voice-locations))))
- ;; 2nd: use (my) absolute path in www demo
- ((probe_file "/home/n/v/nvolk/festival/lib/voices/finnish/hy_fi_mv_diphone/festvox/hy_fi_mv_diphone.scm")
- (defvar hy_fi_mv_dir "/home/n/v/nvolk/festival/lib/voices/finnish/hy_fi_mv_diphone/"))
- (t
- (format stderr "The location of (hy_fi_mv_diphone) could not be determined!\n")
- ))
+ )
@@ -91,12 +81,7 @@
((assoc 'suo_fi_lj_diphone voice-locations)
(defvar suo_fi_lj_dir
(cdr (assoc 'suo_fi_lj_diphone voice-locations))))
- ;; 2nd: use (my) absolute path
- ((probe_file "/home/n/v/nvolk/festival/lib/voices/finnish/suo_fi_lj_diphone/festvox/suo_fi_lj_diphone.scm")
- (defvar hy_fi_mv_dir "/home/n/v/nvolk/festival/lib/voices/finnish/suo_fi_lj_diphone/"))
- (t
- (format stderr "The location of (suo_fi_lj_diphone) could not be determined!\n")
- ))
+ )