display-dhamma -dhp bn^verse^sv | espeak
This generates a random verse from the dhammapada using the Buddharakkhita translation, then pipes it through espeak, a voice synthesizer for linux. Have a listen:
Dhp. Verse 1
Modifying the script using
`seq 423`
and the espeak -w $i.wav
option, it took about ten minutes to create 423 mp3 files, one for each verse (most of the time was spent figuring out how... the computer did it in about 30 seconds). If anyone is interested in a copy, please let me know.