Speaking Text
Grant Edwards
grante at visi.com
Wed Mar 19 11:20:25 EDT 2008
On 2008-03-19, David C Ullrich <dullrich at sprynet.com> wrote:
> Mac OS X has text-to-speech built into the interface.
> So there must be a way to access that from the command
> line as well - in fact the first thing I tried worked:
>
> os.system('say hello')
>
> says 'hello'.
>
> Is there something similar in Windows and/or Linux?
The only speach sythesizer I've seen on Linux boxes is festival:
http://www.cstr.ed.ac.uk/projects/festival/
You can use os.system() to run it from the "command line" or
there are various client APIs:
http://www.cstr.ed.ac.uk/projects/festival/manual/festival_28.html#SEC126
But, it's not installed by default on any distros I've ever
used...
--
Grant
More information about the Python-list
mailing list