Applescript Speech to Sound File Trick?

Somebody once posted a method of converting apple’s speech sythesis into a sound file. I have searched and cannot find that posting. I can’t remember if it was done in the Terminal or thru applescript. Anybody know what I’m talking about here who could help me out? Thanks.

I did a search on Apple’s site and discovered how easy it is to do this:

say "Behold, the mighty Quinn has emailed you." using "Ralph" saving to "Quinn.aiff"

Um, thanks for the help, minnasan!