How to record a Mac’s system voice

notes:

this is all command line stuff. * man say * for more info

type what you want said into a text file: * echo hello > hello ; say -f hello -o hello.aiff *

or skip the text file: * echo hello | say -o hello.aiff *

specify the voice to use with the -v option. note that the voice names are case-sensitive: * echo you have mail | say -v Zarvox -o uhavemail.aiff *