Note: You are viewing an old version of this page. View the current version.

Differences between version 2 and previous revision of KnowledgeBase/FreeBSD/Festival.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 2 Last edited on Sunday, 10 January 2010 13:09:53 by CyberLeo Revert
Older page: version 1 Last edited on Tuesday, 11 July 2006 22:17:24 by CyberLeo Revert
@@ -28,9 +28,9 @@
  * US English Male http://festvox.org/packed/festival/1.95/festvox_cmu_us_bdl_arctic_hts.tar.gz 
  * US English Female http://festvox.org/packed/festival/1.95/festvox_cmu_us_slt_arctic_hts.tar.gz 
  * Canadian English Male http://festvox.org/packed/festival/1.95/festvox_cmu_us_jmk_arctic_hts.tar.gz 
  * Scottish English Male http://festvox.org/packed/festival/1.95/festvox_cmu_us_awb_arctic_hts.tar.gz 
- * MultiSyn Voice Packages (High-quality) (Requires POSLEX and CMU lexicons) 
+ * ~ MultiSyn Voice Packages (High-quality) (Requires POSLEX and CMU lexicons) 
  * Canadian English Male http://festvox.org/packed/festival/1.95/festvox_cstr_us_jmk_arctic_multisyn-1.0.tar.gz 
  * Scottish English Male http://festvox.org/packed/festival/1.95/festvox_cstr_us_awb_arctic_multisyn-1.0.tar.gz 
  
 ---- 

version 2

Install Festival onto FreeBSD 6.0

Source packages, voices and dependancies:

Main program:
http://festvox.org/packed/festival/1.95/festival-1.95-beta.tar.gz
http://festvox.org/packed/festival/1.95/speech_tools-1.2.95-beta.tar.gz

US English voice dependancies:
http://festvox.org/packed/festival/1.95/festlex_POSLEX.tar.gz
http://festvox.org/packed/festival/1.95/festlex_CMU.tar.gz

British English voice dependancies:
http://festvox.org/packed/festival/1.95/festlex_POSLEX.tar.gz
http://festvox.org/packed/festival/1.95/festlex_OALD.tar.gz

Voices


Prerequisites

  • C++ compiler
  • Gnu Make
  • A real posix-compliant operating system

Installation: Speech Tools 1.2.95 Beta

cd build
tar zxvf ../download/speech_tools-1.2.95-beta.tar.gz
cd speech_tools

Patch the source to point to the new location of soundcard.h on FreeBSD

diff -ur speech_tools-orig/audio/voxware.cc speech_tools/audio/voxware.cc
--- speech_tools-orig/audio/voxware.cc  Fri Apr 30 16:56:49 2004
+++ speech_tools/audio/voxware.cc       Fri Oct  7 22:01:18 2005
@@ -61,11 +61,12 @@
 #include "EST_error.h"

 #ifdef SUPPORT_FREEBSD16
-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
 #include <fcntl.h>
 int freebsd16_supported = TRUE;
 int linux16_supported = FALSE;
 static char *aud_sys_name = "FreeBSD";
+static int stereo_only = 0;
 #endif

 #ifdef SUPPORT_LINUX16

Continue with the build

./configure
gmake
su root -c "gmake install"

Installation: Festival 1.95 Beta

Untar the festival package into your build directory, then untar each of the lexicon and voice tarballs into the same location. They will automatically be placed in the proper locations.

The following is for the basic US Male voice.

cd build
tar zxvf ../download/festival-1.95-beta.tar.gz
tar zxvf ../download/festlex-POSLEX.tar.gz
tar zxvf ../download/festlex-CMU.tar.gz
tar zxvf ../download/festvox-kallpc16k.tar.gz
cd festival
./configure
gmake
su root -c "gmake install"

Curiously, this will install the program to build/festival/bin and build/festival/lib, despite what is fed in to ./configure --prefix.