Text To Speech in Comment Line

Command Line Text To Speech Open up the terminal (Applications -> Utilities -> Terminal) and type:

say MacTips.org Rocks! 

As you can see this is an extremely easy way to convert text to speech.
You can also have the computer say something after completing a command to notify you when the command has been completed.
For example:

ls *.jpg; say finished listing jpeg images

You can also speak the contents of a file by using the -f switch:

say -f text_file

You can also specify different voices by using the -v switch:

say -v Ralph Hi, my name is Ralph

There’s a whole list of available voices in the Text to Speech preferences (System Preferences -> Speech -> Text to Speech -> System Voice).

The URI to TrackBack this entry is:
http://macinlove.blogsome.com/2007/06/26/15/trackback/

Responses to Text To Speech in Comment Line

No responses yet.

Leave a Reply


Anti-spam measure: please retype the above text into the box provided.