Wednesday, February 6, 2008

Further Improvement for Text to Speech

Mac users can create an AppleScript droplet that takes any .txt file that you drop onto it, and uses do shell script to run the appropriate say command, then grab the resulting file, import it into iTunes, convert it to MP3, and move the resulting file to the Music folder on your PSP. Such a script is beyond my novice AppleScripting skills.

Of course, if you have Mac OS X 10.4 Tiger, you could easily do this with an Automator action.

Since LAME and text2wave are both command-line tools, it's easy to automate this process on Linux. For example, you can make your MP3 with one command line:

text2wave input.txt | lame - output.mp3

No comments: