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  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
vap0rtranz
Tux's lil' helper
Tux's lil' helper


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

PostPosted: Tue Jul 24, 2007 12:02 pm    Post subject: Half Fix/Fail Reply with quote

Interesting. I see files created in /tmp like the guy above in the thread ... and they are playable, as if we could manually concatenate them into one big wav file *evil grin*

Switching to the alsa-drivers in portage and yanking ALSA out of my kernel did not fix the text2wave segfaults. A slight alteration to Massimo's config got me working again aftewards -- using jack here so I had to call $aplay -Djackplug

/etc/festival/siteinit.scm:
Code:
(Parameter.set 'Audio_Command "aplay -Djackplug -q -c 1 -t raw -f s16 -r $SR $FILE")


Something changed that did not like festival's linux16audio parameter ...
_________________
"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: Tue Aug 21, 2007 2:45 am    Post subject: Workaround Reply with quote

Well, as a workaround the combination of the method change and vsound seems to work here:

/etc/festival/siteinit.scm:
(Parameter.set 'Audio_Method 'linux16audio)
(set! voice_default 'voice_cmu_us_slt_arctic_hts)
(provide 'siteinit)

vsound --timing -f test.wav -d festival --tts test.txt
Back to top
View user's profile Send private message
starseeker
n00b
n00b


Joined: 19 Jan 2003
Posts: 40

PostPosted: Tue Aug 21, 2007 11:07 am    Post subject: Reply with quote

Confound it. Even that doesn't work. vsound is still resetting itself periodically. And when I break it down to one word a line, I can't cat the wav files together. The only way it works is putting it through sox, which gives me a big space after each word.

Grr.
Back to top
View user's profile Send private message
thewtex
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2007
Posts: 93

PostPosted: Sun Dec 09, 2007 6:54 am    Post subject: Reply with quote

Dudes, I think I have the ALSA problem figured out. sox, vsound, esd are all OSS based, so they may not work very well on a modern system. See
http://gentoo-wiki.com/HOWTO_speechd

in the text to .wav section.

I think when you use use native text2wave script it works much faster than real time, but this works.

Also, it seems like it is pretty easy to record any sound going through your system with arecord.

Please let me know if you make any improvements.
Back to top
View user's profile Send private message
thewtex
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2007
Posts: 93

PostPosted: Sun Dec 09, 2007 4:28 pm    Post subject: Reply with quote

Note: script had a big boo-boo for text files not ending in .txt-- fixed that now.
Back to top
View user's profile Send private message
tkhemili78
n00b
n00b


Joined: 31 Jul 2007
Posts: 38
Location: Eastern US

PostPosted: Mon Dec 10, 2007 3:56 am    Post subject: festival hts_engine Reply with quote

im coming up with a strange problem

i have installed
festival 1.96
sox-14
speechd-.56
speech-tools-1.2.96

at this point I am not able to use any of the cmu voices
the error that pops up says something about hts_engine not being compiled
anyone else no whats up ?
Back to top
View user's profile Send private message
tkhemili78
n00b
n00b


Joined: 31 Jul 2007
Posts: 38
Location: Eastern US

PostPosted: Mon Dec 10, 2007 4:17 am    Post subject: nevermind Reply with quote

I solved my issue
I downgraded festival to 1.95
copied the voices from /usr/share/festival/voices to /usr/lib/festival/voices
and

BINGO !!!!

(no gramma were not playing bingo yet LOL)
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1539
Location: Germany

PostPosted: Mon Feb 18, 2008 4:50 pm    Post subject: Reply with quote

Since 1.96_beta became stable on ppc there's the same problem here.
Did they discard these voices? /usr/share/festival/voices still has the selected voice.
Code:
# 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.

Copying from /usr/share/festival/voices to /usr/lib/festival/voices did not help.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
violagirl
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2007
Posts: 102

PostPosted: Thu Mar 27, 2008 3:14 am    Post subject: Reply with quote

How do you guys have text2wave anyway? I emerged festival and I don't have the command at all. :?
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Mon Apr 28, 2008 5:09 pm    Post subject: Reply with quote

violagirl wrote:
How do you guys have text2wave anyway? I emerged festival and I don't have the command at all. :?


it is not a command, it is an example ... see /usr/share/doc/festival/examples ... you will find it

unfortunately
festival 1.96 "hts_engine required, but not compiled in this installation"
festival 1.95 "SIOD ERROR: damaged env : #<UNKNOWN 12 0x3019fe18>"
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
Page 4 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