The next feature I wanted to work on was getting rid of the bash process needed to do the looping. Currently, the ttsd script reads:
while `true`; do
flite /usr/local/ttsd stdout
sleep 1
done
At first I was a bit intimidated thinking about trying to reset all necessary variable and what a mess it would be trying to figure all that out. Then I found the "-l" option to flite... it does exactly that
So that makes getting rid of the bash process easier... just running flite -l from hijack would probably be the simplest launcher. That should reduce the delay between saying two phrases since it doesn't have to re-launch the app.
Hmmm... wonder how much memory a
bilingual ttsd would use up