say -f ~/Desktop/barker.txt -o ~/Desktop/barker.aiff
Here’s how this works:
- Save the text you want to translate into an audio file as a txt file (barket.txt in my example).
- Feed that text file to the say command, using the “f” flag.
- Convert the resulting AIFF file into an MP3 in iTunes. -o ~/Desktop/barker.aiff is saying to output the barker.aiff file to my desktop.
- Copy to iPod.