summaryrefslogtreecommitdiff
path: root/tools/voice.pl
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2007-09-01 20:03:20 +0000
committerJonas Häggqvist <rasher@rasher.dk>2007-09-01 20:03:20 +0000
commit005699f98b0a49b489947f58a042f6ba62ce761d (patch)
tree06ed7b03ea24576561a15ed94f6d011c7de095da /tools/voice.pl
parent499d27d7d1342d73ef30afd54201e7ec806cedb0 (diff)
Add support for building voices with the swift engine from cepstral.com. Patch FS#7689 by Mario Lang.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14565 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/voice.pl')
-rwxr-xr-xtools/voice.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/voice.pl b/tools/voice.pl
index 88f3ba4744..85ff6642f4 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -184,6 +184,11 @@ sub voicestring {
case "sapi5" {
print({$$tts_object{"stdin"}} sprintf("SPEAK\t%s\t%s\r\n", $output, $string));
}
+ case "swift" {
+ $cmd = "swift $tts_engine_opts -o $output \"$string\"";
+ print("> $cmd\n") if $verbose;
+ system($cmd);
+ }
}
}