2011年5月9日 星期一

hts_engine_1.04 use default pitch

In hts_engine, which used parameter generater algorithm and gv to generate spectral and excitation. The excitation generated is not the original pitch.

You can change the program in HTS_gstream.c->void HTS_GStreamSet_create() :

original :
gss->gstream[i].par[j][k] = HTS_PStreamSet_get_parameter(pss, i, msd_frame, k);

after :
gss->gstream[i].par[j][k] = pss->pstream[1].sm.mean[gss_index][0];

沒有留言:

張貼留言