[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to get Festival text to speech working?

2007/7/19, Kevin J. Cummings <cummings kjchome homeip net>:
Tim wrote:
> On Wed, 2007-07-18 at 17:22 +0200, Nigel Henry wrote:
>> Well I tried it again today on Fedora 7, and actually got some speech out of
>> it. The last time I tried it must have been about 3 years ago on FC1, or FC2,
>> and couldn't get it to work, but I was very new to computers, and Linux.  The
>> speech isn't quite up to Star Trek standards, but your ears get tuned in
>> after a while.
> Hmm, where do we campaign to get a synthesised Majel Barrett's voice
> saying, "warning, core dump in progress"?  ;-)
> I haven't had a play with a speech synth since my old Amiga, but after
> noticing the thread decided to have a go at this.  I seemed to be able
> to get it to speak without having to change anything.  Just using the
> command line.  I typed the the (SayText ....) part in as my test:
> [tim bigblack ~]$ festival
> Festival Speech Synthesis System 1.96:beta July 2004
> Copyright (C) University of Edinburgh, 1996-2004. All rights reserved.
> For details type `(festival_warranty)'
> festival> (SayText "I am the very model of a modern major general")
> #<Utterance 0xb7125f08>
> festival>
> Likewise, giving it a text file like a prior post, worked without any
> messing around:
> [tim bigblack ~]$ festival --tts < testfile.text
> I didn't have to do anything other than the above.

I think you'll find that festival works best like the following:

# festival --server &
# speechd

Then all you have to do is send your text to /dev/speech and festival
will speak it for you.  You can find a speechd RPM in the Dries repo.

$ echo "this is a test" > /dev/speech

Kevin J. Cummings
kjchome rcn com
cummings kjchome homeip net
cummings kjc386 framingham ma us
Registered Linux User #1232 (http://counter.li.org)

fedora-list mailing list
fedora-list redhat com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

festival is limited to english pronounciation... that makes it quite
useless for most people on this planet actually.

personally i found that http://espeak.sourceforge.net/ is already much
more versatile.

Rudolf Kastl

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]