You ask, "How do I listen to War and Peace, while I'm Jogging"?
Good question. Here's how you do it:
- Be on a Linux system, to make the following easier
- Go to the Festival web site, and download and build a copy of their speech synthesizer
- Go to the Project Gutenberg site, and download "War and Peace"
- Split the text of the book into chapters, using something like the following csplit command:
- csplit blkhs10.txt '/^CHAPTER /' {66}
- csplit blkhs10.txt '/^CHAPTER /' {66}
- For each resulting text file, who's name will be something like xx00, xx01, ...
- Change the name of the file to xx01.txt
- run: festival/bin/text2wav xx01.txt -o xx01.wav
- run: notlame xx01.wav xx01.mp3 (I forgot to mention, you need to download notlame)
- Change the name of the file to xx01.txt
- Run out and buy a decent CD player, that can play mp3 files
- Burn all of the mp3 files to cd
Or, automate the process, by using the following "make" entry, in a Makefile:
%.mp3 : %.txt
~festival//bin/text2wave $< -o $*.wav
notlame $*.wav $*.mp3
rm $*.wav
and then run the following foreach loop, in the c-shell:
foreach i (xx*.txt)
make $i:r.mp3
end