![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
First Cup of Ubuntu
![]() 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 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 Code:
echo "This is a test." | festival --tts Code:
rm /usr/share/festival/voices/english/cmu_us_clb_arctic-0.95-release.tar.bz2 Code:
;;(set! voice_default 'voice_cmu_us_clb_arctic_clunits) Last edited by patrock; January 25th, 2008 at 12:04 AM.. |
|
|
|
|
|
#2 |
|
Has an Ubuntu Drip
![]() |
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 |
|
Has an Ubuntu Drip
![]() |
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 |
|
First Cup of Ubuntu
![]() 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 | |
|
A Carafe of Ubuntu
![]() Join Date: Oct 2007
Beans: 127
|
Re: Howto: Setup more realistic voices in Festival.
Quote:
(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.
__________________
[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). Last edited by MonkeeSage; April 11th, 2008 at 02:18 PM.. Reason: link to HOWTO |
|
|
|
|
|
|
#6 | |
|
May the Ubuntu Be With You!
![]() Join Date: Dec 2006
Location: Pilipinas kong Mahal
Beans: 1,684
Ubuntu 9.04 Jaunty Jackalope
|
Re: Howto: Setup more realistic voices in Festival.
Quote:
|
|
|
|
|
|
|
#7 |
|
Way Too Much Ubuntu
![]() Join Date: Nov 2006
Beans: 232
|
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! |
|
|
|
|
|
#8 |
|
Extra Foam Sugar Free Ubuntu
![]() 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)
__________________
autokey -- a text expansion tool for Linux | My youtube page of random linux stuff |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2006
Beans: 6
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
|
|
|
|
|
|
#10 | |
|
Gee! These Aren't Roasted!
![]() Join Date: Feb 2007
Location: Slovenia
Beans: 187
Ubuntu Karmic Koala (testing)
|
If somebody is getting this error:
Quote:
Code:
sudo apt-get install festlex-poslex |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|