10.3: Use new say command for easy Terminal speech

Nov 20, '03 10:59:00AM

Contributed by: adrianm

In Panther, there is now a say command line tool. Type say "hello" and it will be said. In Jaguar, you could do this with osascript and the AppleScript "say" command, but this is a little simpler and cleaner.

This can also be used to read a file with the -f parameter, and to write to an AIFF sound file (-o option, useful for, say creating a spoken version of a file to go to your iPod). You can also choose the voice (-v parameter); see the man say page for more details.

[robg adds: This is a nice new feature, especially the ability to speak directly to an AIFF file!]

Comments (29)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20031113181603909