Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Howto: Setup more realistic voices in Festival.

  1. #1
    Join Date
    Jan 2008
    Beans
    3

    Howto: Setup more realistic voices in Festival.

    The CMU Arctic voices sound magnitudes better than the standard Festival voices. They use prerecorded utterances from Project Gutenberg.

    The voices can be downloaded from here. Each voice is around 120 MB. For a description of each voice visit the CMU Arctic page. To hear them visit the voice demo page.

    Here's an example of howto install one.

    If it's not already installed you'll need to get festlex-cmu:
    Code:
    sudo apt-get install festlex-cmu
    Then:
    Code:
    cd /usr/share/festival/voices/english/
    sudo wget -c http://www.speech.cs.cmu.edu/cmu_arctic/packed/cmu_us_clb_arctic-0.95-release.tar.bz2
    sudo tar jxf cmu_us_clb_arctic-0.95-release.tar.bz2 
    sudo ln -s cmu_us_clb_arctic cmu_us_clb_arctic_clunits
    sudo cp /etc/festival.scm /etc/festival.scm.backup
    sudo echo "(set! voice_default 'voice_cmu_us_clb_arctic_clunits)" >> /etc/festival.scm
    Test it out:
    Code:
    echo "This is a test." | festival --tts
    You can delete the voice's .tar.bz2 file once it's unpacked.
    Code:
    rm /usr/share/festival/voices/english/cmu_us_clb_arctic-0.95-release.tar.bz2
    If you install another one comment out the first voice_default line in /etc/festival.scm with 2 semi-colons.

    Code:
    ;;(set! voice_default 'voice_cmu_us_clb_arctic_clunits)
    Last edited by patrock; January 25th, 2008 at 05:04 AM.

  2. #2
    Join Date
    Nov 2007
    Location
    NC, USA
    Beans
    829
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Setup more realistic voices in Festival.

    SIOD ERROR: could not open file /usr/share/festival/dicts/cmu/cmulex.scm
    closing a file left open: /usr/share/festival/voices/english/cmu_us_clb_arctic_clunits/festvox/cmu_us_clb_arctic_lexicon.scm
    closing a file left open: /usr/share/festival/voices/english/cmu_us_clb_arctic_clunits/festvox/cmu_us_clb_arctic_clunits.scm
    closing a file left open: /usr/share/festival/init.scm
    festival: fatal error exiting.

  3. #3
    Join Date
    Nov 2007
    Location
    NC, USA
    Beans
    829
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Howto: Setup more realistic voices in Festival.

    You also included a female voice in the install process. Might want to post both male and female, as Im now removing the female and installing male.

  4. #4
    Join Date
    Jan 2008
    Beans
    3

    Re: Howto: Setup more realistic voices in Festival.

    The male voices sound good too. The HTS voices sound better but I haven't gotten them working yet. You can hear them on the demo page.

  5. #5
    Join Date
    Nov 2006
    Beans
    317

    Re: Howto: Setup more realistic voices in Festival.

    I cannot get Festival to work at all - it worked fine in Feisty, but in Gusty I get the following error:

    SIOD ERROR: could not open file /usr/share/festival/voices/english/cmu_us_clb_arctic_clunits/festvox/cmu_us_clb_arctic_clunits.scm
    closing a file left open: /usr/share/festival/init.scm
    festival: fatal error exiting.


    I have no idea where to go or what to do next! Please help!

  6. #6
    Join Date
    Jul 2006
    Beans
    809

    Re: Howto: Setup more realistic voices in Festival.

    First I would try and see if I could get it working with the packaged voices in fiesty. Install the festvox-rablpc16k and put this in your festival.scm:

    (set! default_voice 'voice_rab_diphone)

  7. #7
    Join Date
    Jul 2006
    Beans
    6
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Howto: Setup more realistic voices in Festival.

    Thanks for this. Is there one similar to GLaDOS. I would make it if I knew how

  8. #8
    Join Date
    Feb 2007
    Location
    Slovenia
    Beans
    251
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Wink Re: Howto: Setup more realistic voices in Festival.

    If somebody is getting this error:
    lexicon english_poslex not defined
    It means you need to:
    Code:
    sudo apt-get install festlex-poslex
    Just had to write this down here, because I couldn't find any solutions elsewhere.

  9. #9
    Join Date
    Oct 2007
    Beans
    130

    Re: Howto: Setup more realistic voices in Festival.

    Quote Originally Posted by patrock View Post
    The male voices sound good too. The HTS voices sound better but I haven't gotten them working yet. You can hear them on the demo page.
    I got the HTS voices working by doing the following (not sure, but they may depend on the CMU Arctic voices being installed (edit: they don't), which I already have — they are way smaller):

    (NOTE: I've started a HOWTO with detailed instructions on how to install all of the available English voices for festival: MBROLA, CMU Arctic, and Nitech HTS. HOWTO.)

    Firstly, downloaded them to a tmp dir:

    Code:
    mkdir hts_tmp
    cd hts_tmp/
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_awb_arctic_hts-2.0.1.tar.bz2
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_bdl_arctic_hts-2.0.1.tar.bz2
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_clb_arctic_hts-2.0.1.tar.bz2
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_rms_arctic_hts-2.0.1.tar.bz2
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_slt_arctic_hts-2.0.1.tar.bz2
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_jmk_arctic_hts-2.0.1.tar.bz2

    Extracted them:

    Code:
    for t in `ls festvox_nitech_us_*` ; do tar xvf $t ; done

    Made a dir for them to live in:

    Code:
    sudo mkdir /usr/share/festival/voices/us

    Moved them there:

    Code:
    sudo mv lib/voices/us/nitech_us_* /usr/share/festival/voices/us/

    Move the hts.scm file into festival's home dir (may not be necessary, but can't hurt):

    Code:
    sudo mv lib/hts.scm /usr/share/festival/hts.scm

    Cleaned up:

    Code:
    cd ../
    rm -rf hts_tmp/

    That's it. :)


    Ps. Like I said, I haven't tried them without having the CMU Arctic voices installed as described above, so that may also be a prerequisite. (edit: They work fine by themselves.)

    Pss. Festvox also has some HTS voices on their site. I'm not sure, but they look like they may just be copies or older versions of the nitech ones. Not sure though.
    Last edited by MonkeeSage; April 11th, 2008 at 07:18 PM. Reason: link to HOWTO
    [People] are usually satisfied with bad argument only when their convictions rest on other grounds. (John Oman, Grace and Personality [New York: Macmillan, 1925], p. 38).

  10. #10
    Join Date
    Dec 2006
    Location
    Manila, Philippines
    Beans
    1,886
    Distro
    Ubuntu Development Release

    Re: Howto: Setup more realistic voices in Festival.

    Quote Originally Posted by MonkeeSage View Post
    I got the HTS voices working by doing the following (not sure, but they may depend on the CMU Arctic voices being installed (edit: they don't), which I already have — they are way smaller):

    (NOTE: I've started a HOWTO with detailed instructions on how to install all of the available English voices for festival: MBROLA, CMU Arctic, and Nitech HTS. HOWTO.)

    Firstly, downloaded them to a tmp dir:

    Code:
    mkdir hts_tmp
    cd hts_tmp/
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_awb_arctic_hts-2.0.1.tar.bz2
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_bdl_arctic_hts-2.0.1.tar.bz2
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_clb_arctic_hts-2.0.1.tar.bz2
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_rms_arctic_hts-2.0.1.tar.bz2
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_slt_arctic_hts-2.0.1.tar.bz2
    wget http://hts.sp.nitech.ac.jp/archives/2.0.1/festvox_nitech_us_jmk_arctic_hts-2.0.1.tar.bz2

    Extracted them:

    Code:
    for t in `ls festvox_nitech_us_*` ; do tar xvf $t ; done

    Made a dir for them to live in:

    Code:
    sudo mkdir /usr/share/festival/voices/us

    Moved them there:

    Code:
    sudo mv lib/voices/us/nitech_us_* /usr/share/festival/voices/us/

    Move the hts.scm file into festival's home dir (may not be necessary, but can't hurt):

    Code:
    sudo mv lib/hts.scm /usr/share/festival/hts.scm

    Cleaned up:

    Code:
    cd ../
    rm -rf hts_tmp/

    That's it.


    Ps. Like I said, I haven't tried them without having the CMU Arctic voices installed as described above, so that may also be a prerequisite. (edit: They work fine by themselves.)

    Pss. Festvox also has some HTS voices on their site. I'm not sure, but they look like they may just be copies or older versions of the nitech ones. Not sure though.
    Man, this is great! Can you suggest more voices?
    MacBook Air 3,1 128gb | Fujitsu Esprimo U9200 | Google Nexus One

    Pinoy ka ba? | Google Profile | Twitter: @AllanCaeg| Identi.ca: allancaeg

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •