Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 19th, 2008, 01:45 PM
David C. Ullrich
Guest
 
Posts: n/a
Default Speaking Text

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
  #2  
Old March 19th, 2008, 02:55 PM
=?ISO-8859-1?Q?Hans_Georg_Krauth=E4user?=
Guest
 
Posts: n/a
Default Re: Speaking Text

On 19 Mrz., 13:41, David C. Ullrich <dullr...@sprynet.comwrote:
Quote:
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
  #3  
Old March 19th, 2008, 03:15 PM
Duncan Booth
Guest
 
Posts: n/a
Default Re: Speaking Text

David C. Ullrich <dullrich@sprynet.comwrote:
Quote:
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.
  #4  
Old March 19th, 2008, 04:25 PM
Grant Edwards
Guest
 
Posts: n/a
Default Re: Speaking Text

On 2008-03-19, David C Ullrich <dullrich@sprynet.comwrote:
Quote:
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

  #5  
Old March 20th, 2008, 12:25 PM
David C. Ullrich
Guest
 
Posts: n/a
Default Re: Speaking Text

On Wed, 19 Mar 2008 07:41:29 -0500, David C. Ullrich
<dullrich@sprynet.comwrote:
Quote:
>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.
Quote:
>David C. Ullrich
David C. Ullrich
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles