Beyond Linux® From Scratch - Version 2015-08-01

Chapter 46. Audio Utilities

FreeTTS-1.2.2

Introduction to FreeTTS

The FreeTTS package contains a
speech synthesis system written entirely in the Java programming language. It is based upon
Flite: a small
run-time speech synthesis engine developed at Carnegie Mellon
University. Flite is derived from
the Festival Speech
Synthesis System from the University of Edinburgh and the FestVox project from
Carnegie Mellon University. The FreeTTS package is used to convert text to
audible speech through the system audio hardware.

This package is known to build and work properly using an LFS-7.7
platform.

This package is known to build and work properly using the gcc-5
compiler.

FreeTTS Dependencies

Required

Installation of FreeTTS

The FreeTTS package is distributed
in ZIP format and the unzip command will default to
creating an unused source directory. Additionally, unzipping the
test suite file will prompt for questions about overwriting
existing files. Use the following commands to unzip the source files:

Tip

The sh jsapi.sh
command below installs the Java Speech API components into the
FreeTTS source tree. You will be
required to view, and then accept (by entering a y keypress), a license agreement
before the installation will continue. If you are scripting
(automating) the build, you'll need to account for this. There is
information about automating build commands in the Automated Building Procedures
section of Chapter 2. Towards the end of this section, specific
information for automating this type of installation is
discussed.

ant: FreeTTS uses the Apache Ant build system instead of the GNU
autotools. This commands builds
everything, including the class libraries, tools and demos.

cp -v -R bin ...;
install -v -m644
speech.properties: These two commands install the
demonstration programs. Optionally copy the speech.properties file to ~/speech.properties if you don't want to make it
available system-wide.

cp -v -R tools ...:
This installs the voice data import utilities. See the README.html files in the tools/ subdirectories for information and
instructions about using the tools.

cp -v -R mbrola ...:
This installs the mbrola.jar file,
required if you use the MBROLA
voices.

cp -v -R demo ...:
This installs the sources and documentation for the demonstration
programs.