Speech synthesis support: Festival

Table of Contents

Configuration
Talking scripts

Configuration

by ross at 07:23:57 on October 28, 2011

Install

# cd /usr/ports/audio/festival
# make install clean

# cd /usr/ports/audio/festlex-poslex
# make install clean

# cd /usr/ports/audio/festlex-cmu
# make install clean

Options for festival: check NAS, uncheck ESD.

Voices

Visit HTS and download the voices (festvox_nitech_us_*_arctic_hts-2.1.tar.bz2).

# tar jxvf festvox_nitech_us_awb_arctic_hts-2.1.tar.bz2
# tar jxvf festvox_nitech_us_bdl_arctic_hts-2.1.tar.bz2
# tar jxvf festvox_nitech_us_clb_arctic_hts-2.1.tar.bz2
# tar jxvf festvox_nitech_us_jmk_arctic_hts-2.1.tar.bz2
# tar jxvf festvox_nitech_us_rms_arctic_hts-2.1.tar.bz2
# tar jxvf festvox_nitech_us_slt_arctic_hts-2.1.tar.bz2
# cp -r lib/* /usr/local/share/festival/lib/

# echo "(set! voice_default 'voice_nitech_us_clb_arctic_hts)" >> /usr/local/share/festival/lib/festival.scm

That's it. Now test it. This is clb voice. You may also want to try other voices you downloaded.

> echo "test" | festival --tts

 

Comments