summaryrefslogtreecommitdiff
path: root/lib/voices/finnish/suo_fi_lj_diphone/festvox/finnish_mv_phrase.scm
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
commitddc9e1ff5df2cf587d624b1c0c021eb2df4e1e16 (patch)
tree32a096c2c05e354b77b1919e3ac51c7e8d08c05b /lib/voices/finnish/suo_fi_lj_diphone/festvox/finnish_mv_phrase.scm
parent4d2d83a285d9c313306fd5de44a27907cf220c6f (diff)
dgit commit quilt patch: fix-text2wave
Make text2wav work with the Finnish voices. (Closes: #495114) This fixes a SIOD ERROR: wrong type of argument to get_c_val when using text2wav or just speaking silence: (SayText "") Apparently the item.name function can't be applied to a nil value. Gbp-Pq: Name fix-text2wave
Diffstat (limited to 'lib/voices/finnish/suo_fi_lj_diphone/festvox/finnish_mv_phrase.scm')
-rw-r--r--lib/voices/finnish/suo_fi_lj_diphone/festvox/finnish_mv_phrase.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/voices/finnish/suo_fi_lj_diphone/festvox/finnish_mv_phrase.scm b/lib/voices/finnish/suo_fi_lj_diphone/festvox/finnish_mv_phrase.scm
index 28c540a..0379a53 100644
--- a/lib/voices/finnish/suo_fi_lj_diphone/festvox/finnish_mv_phrase.scm
+++ b/lib/voices/finnish/suo_fi_lj_diphone/festvox/finnish_mv_phrase.scm
@@ -351,7 +351,7 @@ Does the list intonation too."
"(initial_doubling WORD)
Checks wheter the current WORD can triggers initial doubling on the
next word or not."
- (let ((name (downcase (item.name WORD))))
+ (let ((name (if WORD (downcase (item.name WORD) nil))))
(if (and (item.next WORD)
(not (word_has_break? WORD))
;; (not suopuhe) ;; suopuhe-mode deal this personally ???