More fun with Mac Text to Speech

Taking an example from the page

Mac OS X | How to Record Text to Speech Using Terminal

 and automating it, we get:

for i in Alex Bruce Fred Kathy Vicki Victoria ;do echo $i Says \"read this\";say -v $i "read this"; done

This sets the shell variable i to Alex then Bruce and so on, each time displaying the name, the message and playing (saying) the quote.

Now let us record each one to an AIFF format audio file and play them via iTunes.

And here they all are (as a result of the open *.aiff on the command line) in iTunes®.

Chris Lent