Convert text to an audio file on your Mac

Using terminal:

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.
This entry was posted in Macintosh. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>