I've written a new module to use hts synthesizer. I know that flite
and festival can do this, but my voice file is in new hts voice format
(.htsvoice) and also I need to use my own text analyzer (for persian
text).
Anyway, the problem is that after some time, when the
module stop is called, no message is generated and speech dispatcher
goes silent.
My guess is that this is related on how I generate stop/end events but I can not find the problem.
The overall structure of this module is as follows:
First the input text is splitted
to persian/english texts. Then these messages translated to hts labels
and then these labels will be synthesized by hts_engine and finally the
player (player.c) will generate the final audio.
I've attached the source of module.
Any help to get this module works correctly will be appreciated.