VoxForge
HTK: Using external coefficients vectors problem.
Hi!
I'm trying to develop a recognition system pitch-based. So, I need to use external coefficients vectors proceeding from a pitch detector that I've programmed. I use a MatLab function to make a .htk file format where I append pitch coefficients to the head. If I use "HList -h -S train.scp", for example, I obtain for one .htk file:
------------------------------------- Source: ns5 ------------------------------
 Sample Bytes: 200     Sample Kind:  USER
 Num Comps:    50      Sample Period: 10000.0 us
 Num Samples:  1       File Format:  HTK
------------------------------------ Samples: 0->-1 ----------------------------
0:Â Â Â Â Â -1.067Â Â 2.653Â Â 2.653Â Â 2.653Â Â 2.653Â Â 2.653Â Â 6.580Â Â 6.580Â Â 6.580
15.101
       15.101 15.101 15.101 15.101 15.101  6.580  6.580  6.580  2.653
 2.653
       -1.067 -2.828 -4.588 -4.588 -11.079 -11.079 -11.079 -11.079 -11.079
-7.923
       -6.256 -4.588  2.653  2.653  2.653  2.653  2.653  2.653  2.653
 2.653
       -4.588 -1.067 -4.588 -4.588 -4.588 -4.588 -7.923 -16.207 -16.207 -
24.492
----------------------------------------- END ----------------------------------
I established 10ms to sample period because my pitch detector evaluate pitch from 10ms length samples (I don't know if this is correct). Vector is composed by 50 coefficients and I defined sample kind as USER.
When I use HERest I obtain the next error for every .htk file corresponding to one utterance:
ERROR [-7324] Bad data or over pruning.
It isn't a matching problem. I think that it isn't a threshold problem either, because I relaxed pruning thresholds in the interval 0 to 10000... Probably the problem is that I have only one sample with 50 components but, if I do it backwards I would have 50 samples with just 1 component per sample so, how could I augment samples and components if I only give a value (corresponding to the pitch in Mel scale) per 10ms segment size?
How must I config the config file if I have defined files with coefficients vectors? For example, I don't need SOURCEKIND but TARGETKIND exists because I have defined .htk files yet (I don't need to use HCopy, I have equivalent .mfc HTKBook example files).
Thank you very much.
--- (Edited on 10/12/2010 1:40 pm [GMT-0500] by iloes) ---