View Full Version : Apple Script to Audio format


Nate Benson
December 20th, 2007, 11:54 PM
I'm working on an art piece, and part of the narration I want to be the computer voice that you can program Apple Script to do.

You know, whey you'd type in
say: "i love computers" then compile it would play it back.

does anyone know how to convert that into a audio format?

Cole McDonald
December 21st, 2007, 07:59 AM
if you're on OSX, you can use the command:

do shell script "say -f /path/to/textfile -o ~/Desktop/outputfile.aiff"

or just use the say command from the terminal window.

Cole McDonald
December 21st, 2007, 08:00 AM
in fact, from the terminal:

man say

will get you all your possible options for the say command.

Nate Benson
December 21st, 2007, 11:32 AM
thanks, worked like a charm.