Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 211214
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: William Hubbs <williamh@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Massimo Burcheri <massimo.burcheri@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
festival-1.96_beta-hts-voices.patch files/festival-1.96_beta-hts-voices.patch patch Richard Westwell 2009-01-28 21:48 0000 5.19 KB Details | Diff
festival-voices-us-nitech-hts-2.1.ebuild festival-voices-us-nitech-hts-2.1.ebuild text/plain Richard Westwell 2009-01-28 22:31 0000 1.05 KB Details
festival-1.96_beta-r1.ebuild festival-1.96_beta-r1.ebuild text/plain Richard Westwell 2009-01-28 22:33 0000 5.00 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 211214 depends on: Show dependency tree
Bug 211214 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-23 23:26 0000
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 From Piotr Trojanek 2008-03-02 10:46:06 0000 -------
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 From William Hubbs 2008-03-07 01:29:13 0000 -------
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 From Massimo Burcheri 2008-03-07 07:04:36 0000 -------
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 From John Hardin 2008-03-08 18:19:54 0000 -------
(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 From Joe Roberts 2008-04-17 12:58:20 0000 -------
I would also like it to be brought back, or else made into some kind of USE
option.

------- Comment #6 From Matt 2008-05-23 13:51:55 0000 -------
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 From William Hubbs 2008-05-27 15:51:42 0000 -------
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 From Alec M. 2008-06-21 23:06:51 0000 -------
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 From Christopher Hogan 2008-08-02 09:15:57 0000 -------
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 From Alec M. 2008-08-02 14:41:05 0000 -------
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 From William Hubbs 2008-08-10 20:53:47 0000 -------
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 From Patrick Williams 2009-01-06 13:39:26 0000 -------
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 From Richard Westwell 2009-01-28 21:48:17 0000 -------
Created an attachment (id=180019) [details]
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 From Richard Westwell 2009-01-28 22:31:39 0000 -------
Created an attachment (id=180022) [details]
festival-voices-us-nitech-hts-2.1.ebuild

an ebuild to add in the hts nitech voices

------- Comment #15 From Richard Westwell 2009-01-28 22:33:08 0000 -------
Created an attachment (id=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 From William Hubbs 2009-02-08 22:31:26 0000 -------
I am re-assigning this back to myself since pchrist is away.

------- Comment #17 From William Hubbs 2009-02-09 03:24:35 0000 -------
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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug