By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,931 Members | 1,976 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,931 IT Pros & Developers. It's quick & easy.

Speaking Text

P: n/a
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?
(If it's there in Linux presumably it only works if there
happens to be a speech engine available...)
David C. Ullrich
Mar 19 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On 19 Mrz., 13:41, David C. Ullrich <dullr...@sprynet.comwrote:
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?
(If it's there in Linux presumably it only works if there
happens to be a speech engine available...)

David C. Ullrich
In Windows -pyTTS

http://www.mindtrove.info/articles/pytts.html

Regards
Hans Georg
Mar 19 '08 #2

P: n/a
David C. Ullrich <du******@sprynet.comwrote:
os.system('say hello')

says 'hello'.

Is there something similar in Windows and/or Linux?
(If it's there in Linux presumably it only works if there
happens to be a speech engine available...)
Perhaps http://www.mindtrove.info/articles/pytts.html ?

Or if all else fails Python can drive Microsoft's MSAGENT for speaking
animated figures.
Mar 19 '08 #3

P: n/a
On 2008-03-19, David C Ullrich <du******@sprynet.comwrote:
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/fe...28.html#SEC126

But, it's not installed by default on any distros I've ever
used...

--
Grant

Mar 19 '08 #4

P: n/a
On Wed, 19 Mar 2008 07:41:29 -0500, David C. Ullrich
<du******@sprynet.comwrote:
>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?
(If it's there in Linux presumably it only works if there
happens to be a speech engine available...)
Thanks for the replies.
>David C. Ullrich
David C. Ullrich
Mar 20 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.