Convert a text file into a directory of MP3 files. Perfect for do-it-yourself robot audiobooks!
You will need the following dependencies from apt-get:
- espeak
- lame
Install them with:
$ sudo apt-get install espeak lame
ruby speak.rb some_book.txt
This will generate a directory named some_book, which contains a bunch of MP3 files! They are broken up into multiple files in approximately 30 minute chunks for your listening convenience.