[Dapper] Best way to access speech?
Brian Fahrlander
brian at fahrlander.net
Fri Apr 13 22:53:18 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter Garrett wrote:
>[Snipped]
> You can try
>
> date | festival --tts
>
> for the time - but it isn't very clear here :) Someone will no doubt have
> a better way to do this ...
Well, I've been researching.
To speak the date:
date '+%A, %B %e, %Y' | festival --tts
To turn up the volume, it's tricky, but can be done, at least part
way. This is under Dapper- not sure if it changes.
This tidbit, in broken English, helped a lot:
http://www.cstr.ed.ac.uk/cgi-bin/cstr/lists.cgi?config=festival_faq&entry=arunning_festival/volume.html
It requires a change to a file, kal_diphone.scm. Locate it. It has
a path a mile long. Change:
(utt.wave.rescale utt 2.6)))
to:
(utt.wave.rescale utt 1 t)))
And in your home directory, create a .festivalrc file that contains:
(set! default_after_synth_hooks
(list
(lambda (utt)
(utt.wave.rescale utt 1.0 t))))
This seems to work, for me. The first change changes for that
voice, the .festivalrc file changes it for all other voices. Creepy,
complicated and not making a lot of sense, but the fix seems to work
rather well.
Maybe it'll help someone on Google find the solution, too.
- --
------------------------------------------------------------------------
Brian Fahrländer Christian, Conservative, and Technomad
Evansville, IN http://Fahrlander.net/brian
ICQ: 5119262 AOL/Yahoo/GoogleTalk: WheelDweller
------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGIAne6PLtRzZbdhYRAg5QAJ96wsaZTBP42SLK6gVkWYSYOnpmvACfYHnO
1NJf9wptMS5tnv3+/YfSMwY=
=arLY
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list