If you're not willing to muck around with that, there's a program called festival that does TTS on Linux. "sudo apt-get install festival" then "festival --tts file.txt".
Yes, I've seen mention of Festival. I forget, is it supposed to be superior to eSpeak? I'm trying to install Festival right now...
UPDATE: I've managed to get Festival working in the game. I think I like it a little more than eSpeak. Now if I could just get it to not pronounce
AG and
SR as
ag and
senior (without inserting hyphens
), I'd like it even more! I do like that it says
054-mark-093 as
zero-5-4 mark zero-9-3, while eSpeak says
zero-54-mark-zero-93. However, eSpeak lets me adjust the volume, while Festival doesn't appear to have that ability.
Thanks for the Terminal command lines to install Festival; it made the process quite easy.