I tried to see the content of cmp file using HList -h. It
prompted following error. ERROR [+1113] IsWave: cannot read HTK Header in File hts_build/data/cmp/db_v_text0001.cmp FATAL ERROR - Terminating program HList I am using the script hts_build/data/scripts/mkdata.pl available in festvox distribution to create the cmp files. In the script the htk header is written as # make HTK header $byte = 4 * ( $mcepdim * $nmcepwin + $lf0dim * $nlf0win ); @STAT = stat "$cmpdir/tmp.cmp"; $size = $STAT[7]/$byte; system "echo $size ".($frameshift * 10000000)." | $SPTKdir/x2x/x2x +al | $SPTKdir/swab/swab +f > $cmpdir/tmp.head"; system "echo $byte 9 | $SPTKdir/x2x/x2x +as | $SPTKdir/swab/swab +s >> $cmpdir/tmp.head"; # number 9 corresponds to user specified parameter in HTK Is the script incorrect if yes please suggest which other scripts are available for building the hts voice? Regards, Raghavendra Sébastien Le Maguer wrote: Hi, it seems that your cmp file is corrupted. Check its size and try to use HList on it regards, Sebastien Le jeudi 26 août 2010 à 11:26 +0530, Raghavendra a écrit :Hi, I am building HTS voice using scripts available from FestVox distribution ($FESTVOXDIR/src/hts_build/build_hts). I have applied HTS-2.1.1 patch to HTK-3.4.1. While running following command I have encountered with below error message. Command: ./build_hts train Error Message: =============== SIL ================ HTS training: executing: /usr/local/HTS-2.1.1/bin//HInit -A -e 1.0E-3 -i 50 -I /home/raghavendra/Voices/iiit_tel_nk_hts/hts_build/train/../data/labels/mono_v.mlf -M /home/raghavendra/Voices/iiit_tel_nk_hts/hts_build/train/hmms/db/v/cmp/HInit -S /home/raghavendra/Voices/iiit_tel_nk_hts/hts_build/train/../data/lists/data_db_v.scp -l SIL -o SIL -T 1 -m 1 -v 1.0e-04 /home/raghavendra/Voices/iiit_tel_nk_hts/hts_build/train/proto/s5_m1_c75p1p1p1.prt ERROR [+6313] OpenParmChannel: cannot read HTK Header in File /home/raghavendra/Voices/iiit_tel_nk_hts/hts_build/data/cmp/db_v_text0001.cmp ERROR [+6313] OpenAsChannel: OpenParmChannel failed ERROR [+6316] OpenBuffer: OpenAsChannel failed ERROR [+2150] LoadFile: Config parameters invalid FATAL ERROR - Terminating program /usr/local/HTS-2.1.1/bin//HInit Please someone help me to fix this issue. Regards, Raghavendra. |