Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

A Bash script for Linux and Mac OS X to download/compile/install Festival, MBROLA, and voice files.

License

Notifications You must be signed in to change notification settings

pettarin/setup-festival-mbrola

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-festival-mbrola

A Bash script for Linux and Mac OS X to download/compile/install Festival, MBROLA, and voice files.

Download

$ curl -O https://raw.githubusercontent.com/pettarin/setup-festival-mbrola/master/setup_festival_mbrola.sh

or use the "Download ZIP" feature of the GitHub repo.

Note: you need to have a compiler (e.g., gcc on Linux, Xcode command line tools on Mac) and the libraries required to compile Festival. If the compilation of Festival fails, please read the error message printed by its configure or Makefile, and act accordingly.

Usage

Usage:
  $ bash setup_festival_mbrola.sh PATH_TO_DEST_DIR ACTION

Actions:
  clean                   delete all DEST_DIR/build_* directories
  clean-all               delete entire DEST_DIR directory
  festival                download+compile Festival, install basic English voices
  festival-mbrola-voices  download+install Festival wrappers for MBROLA
  festival-voices         download+install all known Festival voices (WARNING: large download)
  italian                 download+install Italian voices for Festival, including wrappers for MBROLA
  mbrola                  download MBROLA binary
  mbrola-voices           download all known MBROLA voices (WARNING: large download)

Examples:
  $ bash setup_festival_mbrola.sh ~/st festival
  $ bash setup_festival_mbrola.sh ~/st mbrola
  $ bash setup_festival_mbrola.sh ~/st festival-mbrola-voices
  $ bash setup_festival_mbrola.sh ~/st italian
  $ bash setup_festival_mbrola.sh ~/st festival-voices        # WARNING: large download
  $ bash setup_festival_mbrola.sh ~/st mbrola-voices          # WARNING: large download
  $ bash setup_festival_mbrola.sh ~/st clean
  $ bash setup_festival_mbrola.sh ~/st clean-all

For example, if you want to install Festival, MBROLA, and the Festival wrappers for MBROLA voices:

$ mkdir ~/speechtools
$ cd ~/speechtools
$ curl -O https://raw.githubusercontent.com/pettarin/setup-festival-mbrola/master/setup_festival_mbrola.sh
$ bash setup_festival_mbrola.sh st festival
$ bash setup_festival_mbrola.sh st mbrola
$ bash setup_festival_mbrola.sh st festival-mbrola-voices
$ export PATH=`pwd`/st/build_festival/festival/bin:$PATH
$ export PATH=`pwd`/st/build_mbrola:$PATH
$ echo "Hello world! This is the US 1 MBROLA American English voice." | text2wave -eval "(voice_us1_mbrola)" -o /tmp/out.us1_mbrola.wav

License

The scripts and patches in this repository are released under the terms of the MIT License.

They should be used for research and/or personal purposes only, and according to the licensing terms of Festival, MBROLA, and their voice files.

About

A Bash script for Linux and Mac OS X to download/compile/install Festival, MBROLA, and voice files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published