Setting up Festvox TTS


Festvox

Multilingual speech synthesis tool developed by University of Edinburgh.

http://www.festvox.org/festival/index.html

The setup instruction here is tested on ubuntu system.

Get the Code

git clone https://github.com/ranuzz/tts_festvox.git
cd tts_festvox/

Gather and Extract Packages

cd packages/
wget http://www.festvox.org/packed/festival/2.5/speech_tools-2.5.0-release.tar.gz
wget http://www.festvox.org/packed/festival/2.5/festival-2.5.0-release.tar.gz
wget http://www.festvox.org/packed/festival/2.5/festlex_CMU.tar.gz
wget http://www.festvox.org/packed/festival/2.5/festlex_OALD.tar.gz
wget http://www.festvox.org/packed/festival/2.5/festlex_POSLEX.tar.gz
wget http://www.festvox.org/packed/festival/2.5/voices/festvox_cmu_us_slt_cg.tar.gz
wget http://www.festvox.org/packed/festival/2.5/voices/festvox_kallpc16k.tar.gz


cd ..
tar -xvzf packages/speech_tools-2.5.0-release.tar.gz
tar -xvzf packages/festival-2.5.0-release.tar.gz
tar -xvzf packages/festlex_CMU.tar.gz
tar -xvzf packages/festlex_OALD.tar.gz
tar -xvzf packages/festlex_POSLEX.tar.gz
tar -xvzf packages/festvox_kallpc16k.tar.gz
tar -xvzf packages/festvox_cmu_us_slt_cg.tar.gz

Install Essential Packages

sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install libncurses5-dev libncursesw5-dev

Compile speech_tools

cd speech_tools
./configure
make

Compile festival

cd ../festival/
./configure
make

ref: http://www.festvox.org/docs/manual-2.4.0/festival_6.html#Installation

Update Site Setting

; vim festival/lib/siteinit.scm

add (set! voice_default 'voice_name)

text2wave Command

festival/bin/text2wave sample.txt -o sample.wav