Speech Recognition Engines

Nested
HTK ERROR
User: nick
Date: 12/28/2012 6:20 pm
Views: 5543
Rating: 6

Hello everyone,

I am kinda new to SR systems etc. so i need some bytes of help.

I am using Win7 and i am trying to implement a project with HTK but something is wrong.. Well, in cmd when i am taping some perl script commands (ex. runParamApp) i am geting the following:

ERROR [+6210] OpenWaveInput: Cannot open waveform file /.../file.wav

ERROR [+6313] OpenAsChannel: OpenWaveInput failed

ERROR [+6316] OpenBuffer: OpenAsChannel failed

ERROR [+1050] OpenParmFile: Config parameters invalid

FATAL ERROR - Terminating program C:\...\HTK\HCopy.exe


-.-.-.-.--.-.-.-.-.-.-.-.-.-.-.-.-


The above script:

#!/usr/local/bin/perl

$HCOPY="HCopy";
$hcopyConf="configs/hcopyWAV";
&HCopy("lists/lex0.txt", "donees/Locuteur9/", "wav/apprentissage", "param/apprentissage");

#-------------------------------------------------------------------------
# HCopy: Appel de HCopy pour paramιtriser des fichiers audio 
#-------------------------------------------------------------------------
sub HCopy {
   local($fileList, $refDir, $signal, $param)=@_;
  
    open(FILELIST, $fileList);
    open(FILEPARAM, ">$refDir$fileList");
    while(<FILELIST>) { 
        chop($_);
        @liste = split(/ /,$_);
        system("$HCOPY  -C $hcopyConf -D $refDir$signal/$liste[0].wav $refDir$param/$liste[0].mfc");
        print FILEPARAM ("$refDir$param/$liste[0].mfc\n");
    }
    close(FILELIST);
    close(FILEPARAM);
}

 

-.-.-.-.-.-.--.-.-.-

 

My HcopyWAV config file, which is under /scipts the same dir i am pointing my cmd:

SOURCEKIND = WAVEFORM
SOURCEFORMAT = WAV
ENORMALISE = F
TARGETKIND = MFCC
TARGETRATE = 100000.0
WINDOWSIZE = 250000.0
ZMEANSOURCE = T
USEHAMMING = T
PREEMCOEF = 0.97
NUMCHANS = 26
NUMCEPS = 12


I really can't get to generate the .mfc files and procced to the alignement phase, Maybe there is something wrong with my lex0.txt dictionary file.?

Any info is welcome. thanks a lot in advance. cheers!

 

--- (Edited on 12/28/2012 6:20 pm [GMT-0600] by nick) ---

--- (Edited on 12/28/2012 6:25 pm [GMT-0600] by nick) ---

--- (Edited on 12/28/2012 6:26 pm [GMT-0600] by nick) ---

Re: HTK ERROR
User: kmaclean
Date: 1/2/2013 12:48 pm
Views: 526
Rating: 5

>I really can't get to generate the .mfc files

Have you tried the HTK HCopy command directly in a terminal window?

you might try adding a print statement directly in the perl script to make sure your paths are set correctly, i.e. just before the system command put:

print "$HCOPY  -C $hcopyConf -D $refDir$signal/$liste[0].wav $refDir$param/$liste[0].mfc";

--- (Edited on 1/2/2013 1:48 pm [GMT-0500] by kmaclean) ---

Re: HTK ERROR
User: reddy999_2013
Date: 6/17/2013 2:30 pm
Views: 2192
Rating: 2

IN THE FINAL STEP OF RUNNING JULIAN LIVE .I AM GETTING 0-21 HAS NOVALUE.STRIPPED? .SOMETHING LIKE THAT.I AM USING UBUNTU.13.10

I INSTALLED PULSE AUDIO.PAVU CONTROL.

I TRIED PADSP JULIUS JCONF COMMAND. PLEASE HELP ME TO SUBMIT MY PROJECT.URGENT .VERY IMPORTANT!!!!!!

PLEASE!!!!

 

--- (Edited on 6/17/2013 2:30 pm [GMT-0500] by ) ---

PreviousNext