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

[hts-users:02219] Re: problem using hts voice in festival


I have adapted the hts_engine 1.01 to work as a festival module. You can download it from here:


I sent it to Festival developpers, so I hope it will replace the current module soon (if they like it).

So with this new hts_engine module there is no need to swab anything and .win1 .win2 .win3 files work. Check that webpage to download a demo voice also.


If you don't want to use this new hts_engine, you can convert the HTS demo to a festival voice by doing this:

Window files:
Don't use the .win1 .win2 and .win3 files. Use instead mcep_acc.win mcep_dyn.win lf0_acc.win and lf0_dyn.win from an old demo voice (available here, for example):
mcep_acc.win &Company files have float numbers stored in binary format.
.win2 and .win3 files have  float numbers in ascii format.
.win1 files have an extra number which is not specified in older hts voices.

The current festival hts_engine expects window files to be in float binary format, not ASCII.

inf and pdf:
inf files have text information, don't swab them.
You have to swab .pdf files only (all of them).

I think I have not forgotten anything. I hope I have been able to help you.
If you have any doubt or problem, please ask.

Sergio Oller
Student working at UPC

On Wed, Sep 30, 2009 at 10:27, Alexandros Lazaridis <alaza@xxxxxxxxxxxxxxxxx> wrote:



I am trying to use the files from HTS-demo_CMU-ARCTIC-SLT into the voice of festival cmu_us_slt_arctic_hts


I have done the following according to this message




swab +f /cygdrive/c/htk/HTS-demo_CMU-ARCTIC-SLT_olokliromeno/voices/qst001/ver1/mgc.pdf  > /cygdrive/c/htk/HTS-demo_CMU-ARCTIC-SLT_olokliromeno/voices/qst001/ver1/mgcs.pdf


swab +f /cygdrive/c/htk/HTS-demo_CMU-ARCTIC-SLT_olokliromeno/voices/qst001/ver1/lf0.pdf  > /cygdrive/c/htk/HTS-demo_CMU-ARCTIC-SLT_olokliromeno/voices/qst001/ver1/lf0s.pdf


swab +f /cygdrive/c/htk/HTS-demo_CMU-ARCTIC-SLT_olokliromeno/voices/qst001/ver1/tree-dur.inf  > /cygdrive/c/htk/HTS-demo_CMU-ARCTIC-SLT_olokliromeno/voices/qst001/ver1/trees-dur.inf


swab +f /cygdrive/c/htk/HTS-demo_CMU-ARCTIC-SLT_olokliromeno/voices/qst001/ver1/tree-lf0.inf  > /cygdrive/c/htk/HTS-demo_CMU-ARCTIC-SLT_olokliromeno/voices/qst001/ver1/trees-lf0.inf


from hts demo                        -------à to festival


dur.pdf                 --> duration.pdf
lf0s.pdf                --> lf0.pdf
mgcs.pdf             --> mcep.pdf
label.feats           --> feat.list
trees-dur.inf        --> trees-dur.inf
trees-lf0.inf         --> trees-lf0.inf
tree-mgc              --> trees-mcep.inf
lf0.win1                --> lf0_acc.win
lf0.win2                --> lf0_dyn.win
lf0.win3 (add)
mgc.win1              --> mcep_acc.win
mgc.win2              --> mcep_dyn.win
mgc.win3 (add)



Now I am getting the following error when I am trying to synthesize in festival



$ ./festival

Festival Speech Synthesis System 1.96:beta July 2004

Copyright (C) University of Edinburgh, 1996-2004. All rights reserved.

For details type `(festival_warranty)'

festival> (voice_cmu_us_slt_arctic_hts)


festival> (SayText "hello, have a nice day")

     10 [main] festival 10992 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)

Segmentation fault (core dumped)



And exits festival.

I have read in a message in festival mailing list  (http://lists.berlios.de/pipermail/festlang-talk/2009-April/003004.html) about x2x conversion…

Is there something I am not doing right?



Thank you in advance

Alexandros Lazaridis.




[hts-users:02220] Re: problem using hts voice in festival, Alexandros Lazaridis
[hts-users:02218] problem using hts voice in festival, Alexandros Lazaridis