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

[hts-users:00399] Re: Problem with hts voice


Hi

Zuko Fani wrote:

I am getting this error 'WALLOC: failed to malloc 671088648 bytes' when
I run hts voice in festival 1.95beta. I used the
cmu_us_slt_arctic_duration.scm, cmu_us_slt_arctic_durdata.scm,
cmu_us_slt_arctic_f0model.scm, cmu_us_slt_arctic_hts.scm ....
 from the cmu_us_slt_arctic voice that comes by default in festival
1.95beta.  I just substituted the old hts folder with the new hts folder
trained from RC2 demo.

Please try to swap byte order of *.pdf files and put them in the hts folder:

swab +f voices/qst001/ver1/mcp.pdf > cmu_us_awb_arctic_hts/hts/mcep.pdf
swab +f voices/qst001/ver1/lf0.pdf > cmu_us_awb_arctic_hts/hts/lf0.pdf
swab +f voices/qst001/ver1/dur.pdf > cmu_us_awb_arctic_hts/hts/duration.pdf

The hts module in the current festival is based on hts_engine in HTS-1.1.
At that time (HTS-1.1), I didn't concern anything about byte order.
Binary files (*.pdf and *.win files) have to be saved in architecture's natural byte order (x86->little, sparc->big). So it has a compatibility problem.

In HTS-1.1.1, I decided to use big endian for binary files in hts_engine.
I sent a patch to Dr. Alan W. Black about this issue, but it has not been included yet in the festival 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:00398] Problem with hts voice, Zuko Fani