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

[hts-users:00837] Re: Modification of scheme script from hts voices nitech_us_slt_arctic_hts


Hi,

Jan Kocka wrote (2007/10/15 0:10):

I have run demo HTS, everything went fine. In voices folder are *.pdf and *,inf files. I want to ask if it is possible to swap old *.pdf and *.inf files in festival/lib/voices/us/nitech_us_slt_arctic_hts/hts to generated from HTS demo without any decreasing or malfunction old voice?

Yes, you can do that but you have to swap byte orders to use *.pdf generated by HTS-demo on festival.
This is because hts_engine module in festival is based on the old version, HTS-1.1b.
To generate *.pdf files which can be used in festival, please modify the following part in Training.pl from

  # config file for model conversion
  open(CONF,">$cfg{'cnv'}") || die "Cannot open $!";
  print CONF "NATURALREADORDER = T\n";
  print CONF "NATURALWRITEORDER = F\n";  # hts_engine used BIG ENDIAN
  close(CONF);

to

  # config file for model conversion
  open(CONF,">$cfg{'cnv'}") || die "Cannot open $!";
  print CONF "NATURALREADORDER = T\n";
  print CONF "NATURALWRITEORDER = T\n";  # hts_engine used BIG ENDIAN
  close(CONF);

if you're using Intel i*86 environment (little endian).

Best 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://www.sp.nitech.ac.jp/~zen
------------------------------------------------

Follow-Ups
[hts-users:00838] Re: Modification of scheme script from hts voices nitech_us_slt_arctic_hts, Jan Kocka
References
[hts-users:00836] Modification of scheme script from hts voices nitech_us_slt_arctic_hts, Jan Kocka