How to get Festival text to speech working?
Kevin J. Cummings
cummings at kjchome.homeip.net
Thu Jul 19 06:00:30 UTC 2007
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 at 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 at 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 at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)
More information about the fedora-list
mailing list