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.