Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Festival tips: more understandable and books to audiobooks
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Heiga Zen
n00b
n00b


Joined: 13 Sep 2004
Posts: 4
Location: Japan

PostPosted: Tue Sep 21, 2004 8:42 pm    Post subject: Re: Thank you very much Reply with quote

Vanquirius wrote:
Code:
-rwxr-xr-x  1 root root  37K Sep 19 15:43 hts_engine
-rwxr-xr-x  1 4426 4420 1.6M Dec 26  2003 hts_engine.old


Sorry, I don't get you :cry:
What is the difference between "hts_engine" and "hts_engine.old" ?

If "hts_engine.old" is binary file included in our voice distributions
and "hts_engine" is one which was compiled from source files,
file size difference between them is caused from compiling option.

"hts_engine.old" is "statically" compiled one (with -static option).

This is because that file size of "hts_engine.old" is larger than that of "hts_engine".


Last edited by Heiga Zen on Thu Sep 23, 2004 2:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
Vanquirius
Retired Dev
Retired Dev


Joined: 14 Jun 2002
Posts: 1297
Location: Ethereal plains

PostPosted: Tue Sep 21, 2004 9:07 pm    Post subject: Reply with quote

Oh, I see. My bad, I thought that was due to lower optimizations, but I see you are right...

Code:
marcelo@revolvo hts $ ldd hts_engine
        linux-gate.so.1 =>  (0xffffe000)
        libm.so.6 => /lib/libm.so.6 (0x41695000)
        libc.so.6 => /lib/libc.so.6 (0x4157d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4107e000)
marcelo@revolvo hts $ ldd hts_engine.old
        not a dynamic executable


Pardon my ignorance.
_________________
Hello.
Back to top
View user's profile Send private message
MaineZJ
n00b
n00b


Joined: 03 Dec 2003
Posts: 18

PostPosted: Fri Mar 18, 2005 3:32 am    Post subject: Reply with quote

I have recently been trying to use Festival with a project....

I noticed that Festival installs to /usr/share/festival

and when I install mbrola, it's extra voices are installed to /usr/lib/festival

did this to make us1 voice work:
ln -s /usr/lib/festival/voices/english/us1_mbrola/us1 /usr/share/festival/voices/english/us1_mbrola/us1
Back to top
View user's profile Send private message
telegenetic
n00b
n00b


Joined: 30 Mar 2005
Posts: 2

PostPosted: Wed Mar 30, 2005 10:50 pm    Post subject: [SOLVED] Cannot open file /tmp/est_15417_00000/utt.wav as to Reply with quote

i was getting this error also i then looked into htsvoice.pl and noticed this line

system("sox -r $SAMPRATE -t raw -s -c 1 -w $WORKDIR/tmp.raw $OUTWAVE");

noticed WORKDIR is tmp
did a USE="-xorg" emerge sox and it works
Back to top
View user's profile Send private message
bitwise
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 104
Location: seattle

PostPosted: Mon Jun 13, 2005 2:23 am    Post subject: Reply with quote

wow, these sound great, glad I found this thread

Only issue here is the weird seg faults that occur. I still hear the text and everything but I get this:
Code:
$ sh: line 1:  3826 Segmentation fault      /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//hts_engine -dm /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//mcep_dyn.win -dm /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//mcep_acc.win -df /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//lf0_dyn.win -df /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//lf0_acc.win -td /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//tree-dur.inf -tm /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//tree-mcep.inf -tf /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//tree-lf0.inf -md /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//duration.pdf -mm /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//mcep.pdf -mf /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//lf0.pdf -a 0.420000 -r 0.000000 -fs 1.000000 -fm 0.000000 -om /tmp/est_03820_00000/tmp.mcep -of /tmp/est_03820_00000/tmp.f0 -or /tmp/est_03820_00000/tmp.raw -u 0.500000 -l 0.000000 -b 0.300000 /tmp/est_03820_00000/tmp.lab >/dev/null
spewing onto my console, anyone have a fix?
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Thu Jun 16, 2005 6:56 am    Post subject: Reply with quote

Saburo wrote:
wow, these sound great, glad I found this thread

Only issue here is the weird seg faults that occur. I still hear the text and everything but I get this:
Code:
$ sh: line 1:  3826 Segmentation fault      /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//hts_engine -dm /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//mcep_dyn.win -dm /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//mcep_acc.win -df /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//lf0_dyn.win -df /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//lf0_acc.win -td /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//tree-dur.inf -tm /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//tree-mcep.inf -tf /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//tree-lf0.inf -md /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//duration.pdf -mm /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//mcep.pdf -mf /usr/lib/festival/voices/english/cmu_us_jmk_arctic_hts/hts//lf0.pdf -a 0.420000 -r 0.000000 -fs 1.000000 -fm 0.000000 -om /tmp/est_03820_00000/tmp.mcep -of /tmp/est_03820_00000/tmp.f0 -or /tmp/est_03820_00000/tmp.raw -u 0.500000 -l 0.000000 -b 0.300000 /tmp/est_03820_00000/tmp.lab >/dev/null
spewing onto my console, anyone have a fix?

Your not the only one. I'm getting the same error so *bump*
Back to top
View user's profile Send private message
mirko_3
l33t
l33t


Joined: 02 Nov 2003
Posts: 605
Location: Birreria

PostPosted: Fri Jun 17, 2005 11:11 pm    Post subject: Reply with quote

I just tried it, I also get this error. Any solution?
_________________
Non fa male! Non fa male!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5028
Location: Dark side of the mood

PostPosted: Sun Jun 26, 2005 9:59 pm    Post subject: Reply with quote

Hi all.

I've been able to download french database files (e.g. fr1 - fr7) but I'm lacking the *.scm files (e.g. fr1_mbrola.scm). Does anyone know how/where I can get these kinds of files?

Thanks in advance.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Headhunter123
Guru
Guru


Joined: 19 Oct 2002
Posts: 509

PostPosted: Tue Jun 28, 2005 10:35 am    Post subject: Reply with quote

This new speech engine works great! Festival is finally understandable, very nice work!

One thing which came up my mind and might be really useful might be a plugin
for firefox, where you select some text and let it read to you by festival.
I usually don't read books at the pc, but i browse a lot of news pages, having them
read to me would be great - anything done like that yet?
Back to top
View user's profile Send private message
telegenetic
n00b
n00b


Joined: 30 Mar 2005
Posts: 2

PostPosted: Wed Jul 27, 2005 10:35 pm    Post subject: Seg Fault - My Fix Reply with quote

I had this working awhile ago, I reinstalled today and it kept seg faulting like others have.
I diff'ed the old text2wave to the new one and have this:

143c143
< (let ((wholeutt (Utterance Text "")))
---
> (let ((wholeutt (utt.synth (Utterance Text ""))))

So on the _new_ text2wave on line 143 i changed:
(let ((wholeutt (utt.synth (Utterance Text ""))))
to
(let ((wholeutt (Utterance Text "")))

No more seg faults.

The whole thing:
tar -xvzf speech_tools-1.2.95-beta.tar.gz
cd speech_tools
./configure
make

cd ..
tar -xvzf festival-1.95-beta.tar.gz
tar -xvzf festlex_CMU.tar.gz
tar -xvzf festlex_OALD.tar.gz
tar -xvzf festlex_POSLEX.tar.gz
tar -xvzf festvox_cmu_us_awb_arctic_hts.tar.gz
tar -xvzf festvox_cmu_us_bdl_arctic_hts.tar.gz
tar -xvzf festvox_cmu_us_jmk_arctic_hts.tar.gz
tar -xvzf festvox_cmu_us_slt_arctic_hts.tar.gz
tar -xvzf festvox_cstr_us_awb_arctic_multisyn-1.0.tar.gz
tar -xvzf festvox_cstr_us_jmk_arctic_multisyn-1.0.tar.gz
tar -xvzf festvox_don.tar.gz
tar -xvzf festvox_ellpc11k.tar.gz
tar -xvzf festvox_en1.tar.gz
tar -xvzf festvox_kallpc16k.tar.gz
tar -xvzf festvox_kallpc8k.tar.gz
tar -xvzf festvox_kedlpc16k.tar.gz
tar -xvzf festvox_kedlpc8k.tar.gz
tar -xvzf festvox_rablpc16k.tar.gz
tar -xvzf festvox_rablpc8k.tar.gz
tar -xvzf festvox_us1.tar.gz
tar -xvzf festvox_us2.tar.gz
tar -xvzf festvox_us3.tar.gz
cd festival
./configure
make
make tests

fix line 143 in bin/text2wave and you should be good.

luca
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1568
Location: Germany

PostPosted: Sat Nov 25, 2006 12:37 am    Post subject: Reply with quote

Being on ppc I had to rebuild the binary, then it's executable (at least without argument).
But starting a festival sentence crashes:
Code:
# echo "I'm this annoying little blonde speaking from a Gentoo Box" | festival --tts
*** glibc detected *** /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//hts_engine: munmap_chunk(): invalid pointer: 0x100bfcfc ***
======= Backtrace: =========
/lib/libc.so.6(__libc_free+0x1f4)[0xfe2c2ec]
/usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//hts_engine[0x10002b9c]
/usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//hts_engine[0x1000378c]
/usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//hts_engine[0x10000f94]
/usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//hts_engine[0x10001a30]
/lib/libc.so.6[0xfdcd690]
/lib/libc.so.6(__libc_start_main+0x130)[0xfdcd894]
======= Memory map: ========
00100000-00102000 r-xp 00100000 00:00 0
0fdaf000-0fefb000 r-xp 00000000 03:04 6298378    /lib/libc-2.4.so
0fefb000-0ff0b000 ---p 0014c000 03:04 6298378    /lib/libc-2.4.so
0ff0b000-0ff0d000 r--p 0014c000 03:04 6298378    /lib/libc-2.4.so
0ff0d000-0ff10000 rwxp 0014e000 03:04 6298378    /lib/libc-2.4.so
0ff10000-0ff13000 rwxp 0ff10000 00:00 0
0ff23000-0ffda000 r-xp 00000000 03:04 6299726    /lib/libm-2.4.so
0ffda000-0ffe9000 ---p 000b7000 03:04 6299726    /lib/libm-2.4.so
0ffe9000-0ffea000 r--p 000b6000 03:04 6299726    /lib/libm-2.4.so
0ffea000-0fff0000 rwxp 000b7000 03:04 6299726    /lib/libm-2.4.so
10000000-10008000 r-xp 00000000 03:04 8002561    /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts/hts_engine
10017000-10018000 rwxp 00007000 03:04 8002561    /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts/hts_engine
10018000-1028b000 rwxp 10018000 00:00 0          [heap]
30000000-3001f000 r-xp 00000000 03:04 6299664    /lib/ld-2.4.so
3001f000-30022000 rw-p 3001f000 00:00 0
3002e000-3002f000 r--p 0001e000 03:04 6299664    /lib/ld-2.4.so
3002f000-30030000 rwxp 0001f000 03:04 6299664    /lib/ld-2.4.so
30030000-30110000 rw-p 30030000 00:00 0
7ff7b000-7ff91000 rw-p 7ff7b000 00:00 0          [stack]
sh: line 1: 17428 Abgebrochen             /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//hts_engine -dm /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//mcep_dyn.win -dm /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//mcep_acc.win -df /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//lf0_dyn.win -df /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//lf0_acc.win -td /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//tree-dur.inf -tm /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//tree-mcep.inf -tf /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//tree-lf0.inf -md /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//duration.pdf -mm /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//mcep.pdf -mf /usr/share/festival/voices/us/cstr_us_ked_timit_hts/hts//lf0.pdf -a 0.420000 -r 0.100000 -fs 1.000000 -fm 0.000000 -om /tmp/est_17401_00000/tmp.mcep -of /tmp/est_17401_00000/tmp.f0 -or /tmp/est_17401_00000/tmp.raw -u 0.500000 -l 0.000000 -b 0.300000 /tmp/est_17401_00000/tmp.lab > /dev/null

http://hts.ics.nitech.ac.jp/release/HTS-1.1.1_for_HTK-3.2.1.tar.gz
I also tried to built the binary with different CFLAGS. Afterwards I just copied the binary over to the voices directory where the i386 precompiled hts_engine was.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Heiga Zen
n00b
n00b


Joined: 13 Sep 2004
Posts: 4
Location: Japan

PostPosted: Sun Jan 07, 2007 3:18 pm    Post subject: New voices are available Reply with quote

Hi all,

The HTS working group has released the new version of HMM-based speech synthesis system (HTS version 2.0).
6 new voices (4 male and 2 female) for Festival 1.95 and later were also released.
Some of the speakers in the new voices were the same as those in the previous version, but they are trained with the new technologies.
I think new ones sounds better than the previous version, please try it :D

You can download them from http://hts.ics.nitech.ac.jp/
Back to top
View user's profile Send private message
Heiga Zen
n00b
n00b


Joined: 13 Sep 2004
Posts: 4
Location: Japan

PostPosted: Thu Mar 08, 2007 6:57 am    Post subject: HTS website moved Reply with quote

HTS website moved to http://hts.sp.nitech.ac.jp/
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1568
Location: Germany

PostPosted: Tue Mar 13, 2007 11:11 pm    Post subject: Reply with quote

I set up some scripts to issue voice messages.
Now what is the difference between using the festival init script starting a server daemon and using the /dev/speech device OR the usual call approach?
Code:
echo "Lost power. Powersave mode." |festival --tts

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
zaai
Apprentice
Apprentice


Joined: 24 Jul 2004
Posts: 175

PostPosted: Sat Mar 31, 2007 2:47 am    Post subject: Reply with quote

The CMU ARCTIC Databases, especially the US English slt (female) sounds pretty good. Much better than the pure HTS version of these voices.
Only when words aren't in the dictionary it falls back to diphones which unfortunately adds the nasty hickups.
_________________
* most bugs can be reduced to either dependency or state *

Athlon64 X2 4800+ on Asus M2N SLI deluxe with 4GB Dual channel
video nVidia GForce 7300 GS 512MB (snail); xorg-7.2
kernel 2.6.24-gentoo-r3
Back to top
View user's profile Send private message
vap0rtranz
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 121
Location: USA, Earth, Sol, Milk Way, ...

PostPosted: Sat Jun 30, 2007 1:26 am    Post subject: Voice Skipping Text Files Reply with quote

I'll listen to Salt (voice_cmu_us_slt_arctic_hts) anyday when given the choice between her and Mbrola -- ick.

One issue here. When I pipe text files to festival or when I read files from festival's console, the voice starts fine, then there's two of them talking, and next thing she's skipped a few words. Eitherway:

Code:
head ~/docs/livejournal.com/freedom-clean.txt | festival --tts


Code:
~ $ festival
Festival Speech Synthesis System 1.95:beta July 2004
Copyright (C) University of Edinburgh, 1996-2004. All rights reserved.
For details type `(festival_warranty)'
festival> (tts "/home/jrpittma/docs/livejournal.com/freedom-clean.txt" nil)


At first I thought newline characters or other text file ilk was getting her confused but I purged those with the perl script posted on the top of this thread. So is this a conflict between festival -> esound -> alsa? because I had to start esd to get anything more than /dev/speech working ... (esound is evil :evil: )
_________________
"Here on the moon, our weekends are so advanced, they encompass the entire week." ~ Ignignokt
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1568
Location: Germany

PostPosted: Sat Jun 30, 2007 8:50 am    Post subject: Reply with quote

This is also my favorite voice talking to my all the time about new emails, successfull or failed emerges, cron-jobs...
I set it to use alsa:
/etc/festival/siteinit.scm:
(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
I don't have these problems you describe.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
vap0rtranz
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 121
Location: USA, Earth, Sol, Milk Way, ...

PostPosted: Sun Jul 01, 2007 7:11 am    Post subject: Reply with quote

Quote:
I set it to use alsa:


I found out that festival's developers enable audio spooling by default and I was actually hearing the beginning of the next sentence before the end of the previous. Instead of manually playing around with an Audio_Command, I simply switched to the well-known linux audio:

Code:
$ grep linux /etc/festival/siteinit.scm
(Parameter.set 'Audio_Method 'linux16audio)


And tada! the console works. According to their doc, that module sends audio to /dev/dsp which is controlled by alsa on my box -- totally circumventing esound. :)

But text2wave segfaults if I use the sexy Salt voice (and the festival guys say that their example programs require the diphone voices: "[The test suite] assumes that voice_rab_diphone (`festvox_rabxxxx.tar.gz') is the default voice ..."). Have you recorded her voice to wave files? If so, how? And do you have esd running? or just alsa?
_________________
"Here on the moon, our weekends are so advanced, they encompass the entire week." ~ Ignignokt
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1568
Location: Germany

PostPosted: Sun Jul 01, 2007 9:30 am    Post subject: Reply with quote

What do you mean about segfaults? Sometimes I get underrun!!! (at least 382,568 ms long), but I think that's my slow machine.
There's only Alsa, no esd running.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
vap0rtranz
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 121
Location: USA, Earth, Sol, Milk Way, ...

PostPosted: Mon Jul 02, 2007 4:31 am    Post subject: Reply with quote

I mean, if:

Code:
 $ grep voice ~/.festivalrc
(voice_rab_diphone)
(set! voice_default 'voice_cmu_us_slt_arctic_hts)


then:

Code:

$ text2wave -F 44100 -o freedom.wav ~/docs/livejournal.com/freedom-short.txt
Segmentation fault
$ aplay freedom.wav
freedom.wav: No such file or directory


else if:

Code:
$ grep voice ~/.festivalrc
(voice_rab_diphone)
;(set! voice_default 'voice_cmu_us_slt_arctic_hts)


then:

Code:
$ aplay freedom.wav
Playing WAVE 'freedom.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono


And the British dude tries his best to talk about freedom. :cry:
_________________
"Here on the moon, our weekends are so advanced, they encompass the entire week." ~ Ignignokt
Back to top
View user's profile Send private message
vap0rtranz
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 121
Location: USA, Earth, Sol, Milk Way, ...

PostPosted: Mon Jul 02, 2007 4:46 am    Post subject: Reply with quote

Massimo B. wrote:
What do you mean about segfaults? Sometimes I get underrun!!! (at least 382,568 ms long), but I think that's my slow machine.


P.S. Someone else had this problem about a year ago so I bumped it up ... And I get the underrun errors on long chunks of text but it doesn't segfault.
_________________
"Here on the moon, our weekends are so advanced, they encompass the entire week." ~ Ignignokt
Back to top
View user's profile Send private message
starseeker
n00b
n00b


Joined: 19 Jan 2003
Posts: 40

PostPosted: Sat Jul 21, 2007 4:18 pm    Post subject: Still seeing it Reply with quote

festival-1.95_beta-r4 USE="X -asterisk -esd -mbrola"

~/.festivalrc:
(voice_rab_diphone)
(set! voice_default 'voice_cmu_us_slt_arctic_hts)


festival --tts test.txt
Duration tree extreme for r 3.64693
Duration tree extreme for r 3.64693
Duration tree extreme for r 3.64693
(successful, plays on speakers.)

./text2wave -o test.wav test.txt
Duration tree extreme for r 3.64693
Duration tree extreme for r 3.64693
Duration tree extreme for r 3.64693
Segmentation fault
(no wav file :-( failure)
Back to top
View user's profile Send private message
starseeker
n00b
n00b


Joined: 19 Jan 2003
Posts: 40

PostPosted: Sat Jul 21, 2007 4:26 pm    Post subject: Reply with quote

An interesting data point - I don't know quite why, or who's fault it is, but when I try to work around this by using vsound the temporary file generated by vsound itself keeps getting re-set in file size:

417816 Jul 21 12:22 vsound20441.au
417816 Jul 21 12:22 vsound20441.au
24600 Jul 21 12:22 vsound20441.au
32792 Jul 21 12:22 vsound20441.au
40984 Jul 21 12:22 vsound20441.au
49176 Jul 21 12:22 vsound20441.au
57368 Jul 21 12:22 vsound20441.au
65560 Jul 21 12:22 vsound20441.au
73752 Jul 21 12:22 vsound20441.au
81944 Jul 21 12:22 vsound20441.au
90136 Jul 21 12:22 vsound20441.au
98328 Jul 21 12:22 vsound20441.au
106520 Jul 21 12:22 vsound20441.au
122904 Jul 21 12:22 vsound20441.au
131096 Jul 21 12:22 vsound20441.au
139288 Jul 21 12:22 vsound20441.au
147480 Jul 21 12:22 vsound20441.au
155672 Jul 21 12:22 vsound20441.au
163864 Jul 21 12:22 vsound20441.au
163864 Jul 21 12:22 vsound20441.au
16408 Jul 21 12:22 vsound20441.au
24600 Jul 21 12:22 vsound20441.au
32792 Jul 21 12:22 vsound20441.au
131096 Jul 21 12:22 vsound20441.au
147480 Jul 21 12:22 vsound20441.au

In the end, all I got in vsound.wav was the last word. Does something about the way this voice works make festival re-set something internally every so often?
Back to top
View user's profile Send private message
vap0rtranz
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2004
Posts: 121
Location: USA, Earth, Sol, Milk Way, ...

PostPosted: Sat Jul 21, 2007 6:13 pm    Post subject: Reply with quote

Where did you find those .au files and .wav??
_________________
"Here on the moon, our weekends are so advanced, they encompass the entire week." ~ Ignignokt
Back to top
View user's profile Send private message
starseeker
n00b
n00b


Joined: 19 Jan 2003
Posts: 40

PostPosted: Sat Jul 21, 2007 6:27 pm    Post subject: Reply with quote

When I tried the following:

vsound -d festival --tts test.txt

I then opened another xterm and went to that same directory, and watched the temporary au file with ls -l *.au

I used a long enough test file to give me some time to watch.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum