A minor change to espeak-generic.conf

Lorenzo Taylor lorenzo at taylor.homelinux.net
Tue Oct 3 23:52:55 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have found that making a minor change to espeak-generic.conf works
better with espeak version 1.16 and also keeps espeak from having to
create a temp file.  Note that this is only tested with espeak 1.16, so
may not work on earlier versions, but definitely test.

There is a line in espeak-generic.conf that says something like

"echo \"$DATA\" | speak -v $VOICE -s $RATE -a $VOLUME -p $PITCH --stdin -w /tmp/speak.wav | aplay /tmp/speak.wav"

I have changed my espeak-generic.conf to say:

"echo \"$DATA\" | speak -v $VOICE -s $RATE -a $VOLUME -p $PITCH --stdin --stdout |play -t wav -"

Sorry, but I haven't gotten it to work with aplay yet.

Not only does this get rid of the temp file, but performance of espeak
1.16 is greatly improved, since there seems to be some sort of slowdown
compaired with previous versions of espeak when writing to the temp
file.  Using the temp file method, I was getting strange problems like
the first part of the speech being the same as what was previously
spoken followed by a switch in the middle to the end of what was
supposed to be newly spoken.  The stdout method fixes this.

Hth someone,
Lorenzo
- -- 
I've always found anomalies to be very relaxing. It's a curse.
- --Jadzia Dax: Star Trek Deep Space Nine (The Assignment)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFIzAXG9IpekrhBfIRAnzZAJ9f/0u7SiL1/57UC2nwbLcsoVsndACdF6O8
xykgGRgZ7vds0HuLYZ+ihX4=
=Xx7P
-----END PGP SIGNATURE-----




More information about the Speakup mailing list