[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:00397] Re: Generation using phonemes duration in HTS2


Hi,

Ossama Abdel-Hamid wrote:

I have found the cause of the problem and solved it, it seems to be a bug in HTS-2.0RC2.
Here are the errors in the code and corrections:
in the file HMGenS in the function CountDurStat, the line 291 it's written:
     *sqr += ivar[j];
It should be:
   *sqr += 1.0f / ivar[j];

and in line 336 it's written:
   rho = (SpeakRate*sum-sum)*sqr;
It should be:
   rho = (SpeakRate*sum-sum)/sqr;

And also in line 356
   rho = (modeldur-sum)*sqr;
IT should be:
   rho = (modeldur-sum)/sqr;

Best Regards,

Thank you very much for reporting this bug.
I'd like to fix this bug in the next release.

Regards,

Heiga Zen (Byung Ha Chun)

--
------------------------------------------------
Heiga ZEN     (in Japanese pronunciation)
Byung Ha CHUN (in Korean pronunciation)

Department of Computer Science and Engineering
Nagoya Institute of Technology
Gokiso-cho, Showa-ku, Nagoya 466-8555 Japan

http://kt-lab.ics.nitech.ac.jp/~zen
------------------------------------------------


References
[hts-users:00394] Generation using phonemes duration in HTS2, Ossama AbdelHamid
[hts-users:00396] Re: Generation using phonemes duration in HTS2, Ossama Abdel-Hamid