I've gotten a lot of cleanup work done, but I'm not quite ready to release anything yet. I still need to write an install script and some basic documentation.
I've now worked out a couple basic details:
- recompiled flite so it works with the stock libc (upgrading is tricky so it's nice not to have to)
- modified flite so it can write PCM to stdout if asked to.
- modified my pcmcvt to read stdin
- rewrote shell wrapper so now it can read plain text from a fifo.
So the way it works now is that you can write any text to /usr/local/ttsd and it will say it. For example:
sh-2.03# echo hello world > /usr/local/ttsd
This should make it fairly easy to interface with.
Future work to be done:
- pause the player before doing TTS and unpause when done.
- try to integrate upsampling into flite (saves a little ram)
- look into mixing with music
- what to do about generating a wav before reading it... where to store the temp file?
I should be able to realease a beta version tomorrow (well, later today, it's 2am and I'm going to bed) for people to play with.