Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211214 - app-accessibility/festival-1.96_beta: cmu voices don't work
Summary: app-accessibility/festival-1.96_beta: cmu voices don't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-23 23:26 UTC by Massimo Burcheri
Modified: 2009-02-09 03:24 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
files/festival-1.96_beta-hts-voices.patch (festival-1.96_beta-hts-voices.patch,5.19 KB, patch)
2009-01-28 21:48 UTC, Richard Westwell
Details | Diff
festival-voices-us-nitech-hts-2.1.ebuild (festival-voices-us-nitech-hts-2.1.ebuild,1.05 KB, text/plain)
2009-01-28 22:31 UTC, Richard Westwell
Details
festival-1.96_beta-r1.ebuild (festival-1.96_beta-r1.ebuild,5.00 KB, text/plain)
2009-01-28 22:33 UTC, Richard Westwell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2008-02-23 23:26:22 UTC
cmu voices don't work:
(set! voice_default 'voice_cmu_us_awb_arctic_hts)

default voice and "ked" works:
(set! voice_default 'voice_ked_diphone)

Reproducible: Always

Steps to Reproduce:
# echo "Hello. I'm the Apple Powerbook G4 running Gentoo Linux." |festival --tts 
 SIOD ERROR: module hts_engine required, but not compiled in this installation 
 
 closing a file left open: /usr/share/festival/voices/us/cmu_us_slt_arctic_hts/festvox/cmu_us_slt_arctic_hts.scm 
 closing a file left open: /usr/share/festival/init.scm 
 festival: fatal error exiting.


Expected Results:  
Was working with 1.95_beta-r4
Comment 1 Piotr Trojanek 2008-03-02 10:46:06 UTC
This bug is because the HTS module is not compiled. The reason is the ebuild line:

# disable the multisyn modules
sed -i -e "s:\(ALSO_INCLUDE.*=.*MultiSyn\):# \1:" "${S}"/config/config.in

which comments out all the line, including HTS module, not only the unstable MultiSyn.
Comment 2 William Hubbs gentoo-dev 2008-03-07 01:29:13 UTC
I just looked this over, and the issue is that the klunits, hts_engine
and MultiSyn modules are all considered experimental by upstream, and
I did not take that into account in the previous ebuilds.

So, there are two options.  Let me know if you would prefer that I
remove the voices or bring back the experimental modules.

Thanks,

William

Comment 3 Massimo Burcheri 2008-03-07 07:04:36 UTC
Since I'm using the experimental in the previous version without problems I would say 'bring it back'. People can switch to standard voices if they like.
Comment 4 John Hardin 2008-03-08 18:19:54 UTC
(In reply to comment #2)

> So, there are two options.  Let me know if you would prefer that I
> remove the voices or bring back the experimental modules.

Make them a USE option?
Comment 5 Joe Roberts 2008-04-17 12:58:20 UTC
I would also like it to be brought back, or else made into some kind of USE option.
Comment 6 Matt 2008-05-23 13:51:55 UTC
Please, bring back the hts option.  The default voice is just too...  computer-y.  I used to use the female one, as it sounded the most human-sounding, computer voice.  It requires the hts engine, though.
Comment 7 William Hubbs gentoo-dev 2008-05-27 15:51:42 UTC
All,

I have a local festival ebuild with the extra engines enabled -- I have
deleted the lines mentioned in comment #1.  I get the following:

william@linux1 ~ $ cat .festivalrc
(set! voice_default 'voice_cmu_us_awb_arctic_hts)
;; (Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
;; (Parameter.set 'Audio_Method 'Audio_Command)
william@linux1 ~ $ echo "gentoo can speak." | festival --tts
SIOD ERROR: unbound variable : f2b_f0_lr_start
closing a file left open: /usr/share/festival/init.scm
festival: fatal error exiting.
william@linux1 ~ $ 

I do not know the internals of festival all that well, so can someone provide information about this issue?

Thanks,

William

Comment 8 Alec Meyers 2008-06-21 23:06:51 UTC
William, according to the wiki (http://gentoo-wiki.com/HOWTO_speechd#HTS) the problem you had above can be easily fixed. However, how did you build it? I've tried commenting out that line, but I get an error with MultiSyn when compiling...
Comment 9 Christopher Hogan 2008-08-02 09:15:57 UTC
I also tried commenting out the following:
sed -i -e "s:\(ALSO_INCLUDE.*=.*MultiSyn\):# \1:" "${S}"/config/config.in


However, the build errored out with:
making dependencies -- hash_s_itemlistp_t.cc hash_s_itemlistp_t.cc:54:38: error: ../base_class/EST_THash.cc: No such file or directory

Would this have something to do with?:
sed -i -e "s:\(EST=\).*:\1/usr/share/speech-tools:" "${S}"/config/confi$
sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" "${S}"/config/project.mak
Comment 10 Alec Meyers 2008-08-02 14:41:05 UTC
I got it working by simply pausing portage right after it unpacked, editing out MultiSyn on line 58 of config/config.in, and letting it continue. After that, it worked fine with all the arctic and nitech voices I downloaded.
Comment 11 William Hubbs gentoo-dev 2008-08-10 20:53:47 UTC
The speech engines are added back now, excluding the multisyn engine.

Several of the CMU voices have issues in their scheme files, so I am
assigning this to one of our developers who is familiar with scheme so
he can take a look at them.

Comment 12 Patrick Williams 2009-01-06 13:39:26 UTC
I tried to load the arctic voices and ran into the error described in this posting on the hts-users list.  Applied their changes to all the arctic voices and they load now and say the introduction.

http://hts.sp.nitech.ac.jp/hts-users/spool/2007/msg00068.html

I am having trouble getting duration changes to apply to the arctic voices but that might be a "missing feature".
Comment 13 Richard Westwell 2009-01-28 21:48:17 UTC
Created attachment 180019 [details, diff]
files/festival-1.96_beta-hts-voices.patch

thanks for the above link, I've created a patch to fix the cmu voice files for 1.96, see attached

all you need to do
1. create a copy of the ebuild in an overlay directory e.g. festival-1.96_beta-r1.ebuild
2. add epatch "${FILESDIR}"/${P}-hts-voices.patch under the unpack section and save the attached file into the files directory
3. run ebuild digest on the new ebuild
4. and emerge
Comment 14 Richard Westwell 2009-01-28 22:31:39 UTC
Created attachment 180022 [details]
festival-voices-us-nitech-hts-2.1.ebuild

an ebuild to add in the hts nitech voices
Comment 15 Richard Westwell 2009-01-28 22:33:08 UTC
Created attachment 180023 [details]
festival-1.96_beta-r1.ebuild

the current ebuild I'm using for festival at the moment to add in the patch
Comment 16 William Hubbs gentoo-dev 2009-02-08 22:31:26 UTC
I am re-assigning this back to myself since pchrist is away.
Comment 17 William Hubbs gentoo-dev 2009-02-09 03:24:35 UTC
The issue with the CMU voices not working has been fixed in -r1.

Since the us-nitech voices are a separate package and not part of the
actual festival distribution, please file a separate bug requesting a new ebuild.

Thanks much.

William