[Lunar-commits] <moonbase> Subject: flite: version bump and better default voice

Auke Kok sofar at foo-projects.org
Thu Aug 19 06:02:03 CEST 2010


commit 0bb3540ac59c2d638a128df0ef935b1e10280c78
Author: Paul Bredbury <brebs at sent.com>
Date:   Thu Aug 19 06:02:03 2010 +0200

    Subject: flite: version bump and better default voice
---
 zbeta/flite/BUILD   |   11 +++++------
 zbeta/flite/DETAILS |   25 ++++++++++---------------
 2 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/zbeta/flite/BUILD b/zbeta/flite/BUILD
index e4b88d5..cd979e6 100644
--- a/zbeta/flite/BUILD
+++ b/zbeta/flite/BUILD
@@ -1,12 +1,11 @@
 (
 
-  # Sets ALSA as default, instead of OSS
-  patch_it $SOURCE_CACHE/$SOURCE2 1 &&
+  # Use best-sounding voice by default - rms.
+  # kal sounds horrible - kal16 is obviously better, as a robot sound.
+  sedit 's:flite_voice_list = flite_set_voice_list();:flite_voice_list = flite_set_voice_list();\n    desired_voice = flite_voice_select("rms");:' main/flite_main.c  &&
 
-  sed -i "s/@ \$(MAKE) -C lib --no-print-directory install//" Makefile &&
-
-  # Needed for compilation, with ALSA patch
-  OPTS+=" --with-vox=cmu_us_kal16" &&
+  # Output to ALSA rather than OSS
+  OPTS+=" --with-audio=alsa --enable-shared"  &&
 
   default_build
 
diff --git a/zbeta/flite/DETAILS b/zbeta/flite/DETAILS
index df17122..f69eb9b 100644
--- a/zbeta/flite/DETAILS
+++ b/zbeta/flite/DETAILS
@@ -1,23 +1,18 @@
           MODULE=flite
-         VERSION=1.3-release
-          SOURCE=$MODULE-$VERSION.tar.gz
-         # Patch from http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/files/
-         SOURCE2=flite-1.3-alsa-support.patch.bz2
-      SOURCE_URL=http://speech.cs.cmu.edu/flite/packed/flite-1.3
-     SOURCE2_URL=$PATCH_URL
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
-      SOURCE_VFY=sha1:233144a772de72741ae1aa2292f672c30224afb3
-     SOURCE2_VFY=sha1:ca5cf9e9249bbc93f83063336cfe074e774a703a
-        WEB_SITE="http://cmuflite.org/"
+         VERSION=1.4-release
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=http://www.speech.cs.cmu.edu/flite/packed/flite-1.4
+      SOURCE_VFY=sha1:5370eebe917ba2b57dfdbaf15013b99bbe748631
+        WEB_SITE=http://cmuflite.org/
          ENTERED=20071111
-         UPDATED=20090809
-           SHORT="small, fast run-time synthesis engine"
+         UPDATED=20100816
+           SHORT="A small, fast speech-synthesis engine (text-to-speech)"
            PSAFE=no
 
 cat << EOF
-Flite (festival-lite) is a small, fast run-time synthesis engine
-developed at CMU and primarily designed for small embedded machines
+Flite (festival-lite) is a small, fast run-time speech-synthesis engine
+developed at CMU and primarily designed for small, embedded machines
 and/or large servers. Flite is designed as an alternative synthesis
 engine to Festival for voices built using the FestVox suite of
-voice building tools.
+voice-building tools.
 EOF


More information about the Lunar-commits mailing list