You are not logged in.

#1 2007-10-27 04:39:16

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

convert text to mp3 using festival

Here is an interesting link that I found regarding converting pdf, html, etc to mp3 using festival
http://linuxgazette.net/117/anonymous.html

I installed festival, one voice, and ghostscript, but the above method gave me the following error while converting a pdf file to mp3

[shantanu@bluehead ~]$ ./pdf2mp3.sh -a alok -t aloktheory alok.pdf 
./pdf2mp3.sh: line 24: text2wave: command not found
Assuming raw pcm input file
LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE
Resampling:  input 44.1 kHz  output 24 kHz
Using polyphase lowpass filter, transition band: 10548 Hz - 10839 Hz
Encoding <stdin> to abook1.mp3
Encoding as 24 kHz average 40 kbps single-ch MPEG-2 Layer III (9.6x) qval=3
./pdf2mp3.sh: line 24: text2wave: command not found
Assuming raw pcm input file
LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used), SSE
Resampling:  input 44.1 kHz  output 24 kHz
Using polyphase lowpass filter, transition band: 10548 Hz - 10839 Hz
Encoding <stdin> to abook2.mp3
Encoding as 24 kHz average 40 kbps single-ch MPEG-2 Layer III (9.6x) qval=3
[shantanu@bluehead ~]$

It seems "text2speech" which I suppose is bundled with festival is not there. Where do I go from here?

Also, I tried kallpc and don voices which are not good enough. could anyone please suggest some better voice.

Last edited by ravisghosh (2007-10-27 04:40:30)

Offline

#2 2007-11-19 18:13:30

anakin
Member
From: Portugal
Registered: 2006-09-11
Posts: 85
Website

Re: convert text to mp3 using festival

Festival package from the extra repo doesn't install the text2wave binary, someone filed a bug complaining about this and other issues concerning this package and came up with his own PKGBUILD which installs text2wave among other things:

http://bugs.archlinux.org/task/7864?dev=283


www.geekslot.com - a place where peculiar people fit

Offline

#3 2007-11-20 14:12:58

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: convert text to mp3 using festival

Is it possible to impliment at&t natural voice speech engine in festival since that would give somewhat human sounding voices.

Offline

#4 2007-11-21 12:05:15

anakin
Member
From: Portugal
Registered: 2006-09-11
Posts: 85
Website

Re: convert text to mp3 using festival

Unfortunately I don't know whether this is possible.


www.geekslot.com - a place where peculiar people fit

Offline

#5 2009-07-06 13:57:49

cautha
Member
From: Kingston, Ontario
Registered: 2008-06-02
Posts: 115
Website

Re: convert text to mp3 using festival

I know how old this thread is big_smile

Extra's Festival package still doesn't include the binary speech tools (e.g. text2wave), and I'm having problems building from the above PKGBUILD.

This is a partially-highlighted build log, in case anyone is brave enough to have a look at it.

It's long -- I apologize. There were so many errors and warnings that I wasn't sure where to snip it. CTRL-F "error" and Firefox's "Highlight all" might help here.

I was a bit gutted; I finally got everything working/found a voice I liked, only to have to uninstall and try again lol

P.S. Should I be using Phonon rather than ALSA in KDE 4? Testing KTTSD with Phonon (after I had installed Festival from extra) caused it to crash, but I'm wondering if it's worth trying to iron that problem out as well.

Offline

#6 2010-01-08 17:22:32

rennau80
Member
Registered: 2010-01-08
Posts: 1

Re: convert text to mp3 using festival

Offline

Board footer

Powered by FluxBB