Menu

Error in Generating acoustic feature files

Help
2017-10-20
2017-10-21
  • Govind Singh

    Govind Singh - 2017-10-20

    I am getting an error :

     sudo sphinx_fe -argfile en-us/feat.params         -samprate 16000 -c arctic20.fileids        -di . -do . -ei wav -eo mfc -mswav yes
    Current configuration:
    [NAME]          [DEFLT]     [VALUE]
    -alpha          0.97        9.700000e-01
    -argfile                en-us/feat.params
    -blocksize      2048        2048
    -build_outdirs      yes     yes
    -c                  arctic20.fileids
    -cep2spec       no      no
    -di                 .
    -dither         no      no
    -do                 .
    -doublebw       no      no
    -ei                 wav
    -eo                 mfc
    -example        no      no
    -frate          100     100
    -help           no      no
    -i                  
    -input_endian       little      little
    -lifter         0       0
    -logspec        no      no
    -lowerf         133.33334   1.333333e+02
    -mach_endian        little      little
    -mswav          no      yes
    -ncep           13      13
    -nchans         1       1
    -nfft           512     512
    -nfilt          40      40
    -nist           no      no
    -npart          0       0
    -nskip          0       0
    -o                  
    -ofmt           sphinx      sphinx
    -part           0       0
    -raw            no      no
    -remove_dc      no      no
    -remove_noise       yes     yes
    -remove_silence     yes     yes
    -round_filters      yes     yes
    -runlen         -1      -1
    -samprate       16000       1.600000e+04
    -seed           -1      -1
    -smoothspec     no      no
    -spec2cep       no      no
    -sph2pipe       no      no
    -transform      legacy      legacy
    -unit_area      yes     yes
    -upperf         6855.4976   6.855498e+03
    -vad_postspeech     50      50
    -vad_prespeech      20      20
    -vad_startspeech    10      10
    -vad_threshold      2.0     2.000000e+00
    -verbose        no      no
    -warp_params                
    -warp_type      inverse_linear  inverse_linear
    -whichchan      0       0
    -wlen           0.025625    2.562500e-02
    
    Current configuration:
    [NAME]          [DEFLT]     [VALUE]
    -alpha          0.97        9.700000e-01
    -argfile                en-us/feat.params
    -blocksize      2048        2048
    -build_outdirs      yes     yes
    -c                  arctic20.fileids
    -cep2spec       no      no
    -di                 .
    -dither         no      no
    -do                 .
    -doublebw       no      no
    -ei                 wav
    -eo                 mfc
    -example        no      no
    -frate          100     100
    -help           no      no
    -i                  
    -input_endian       little      little
    -lifter         0       22
    -logspec        no      no
    -lowerf         133.33334   1.300000e+02
    -mach_endian        little      little
    -mswav          no      yes
    -ncep           13      13
    -nchans         1       1
    -nfft           512     512
    -nfilt          40      25
    -nist           no      no
    -npart          0       0
    -nskip          0       0
    -o                  
    -ofmt           sphinx      sphinx
    -part           0       0
    -raw            no      no
    -remove_dc      no      no
    -remove_noise       yes     yes
    -remove_silence     yes     yes
    -round_filters      yes     yes
    -runlen         -1      -1
    -samprate       16000       1.600000e+04
    -seed           -1      -1
    -smoothspec     no      no
    -spec2cep       no      no
    -sph2pipe       no      no
    -transform      legacy      dct
    -unit_area      yes     yes
    -upperf         6855.4976   6.800000e+03
    -vad_postspeech     50      50
    -vad_prespeech      20      20
    -vad_startspeech    10      10
    -vad_threshold      2.0     2.000000e+00
    -verbose        no      no
    -warp_params                
    -warp_type      inverse_linear  inverse_linear
    -whichchan      0       0
    -wlen           0.025625    2.562500e-02
    
    INFO: sphinx_fe.c(967): Processing all remaining utterances at position 0
    INFO: sphinx_fe.c(787): Converting ./arctic_0001.wav to ./arctic_0001.mfc
    Segmentation fault (core dumped)
    

    I am totally new to this. I was working on speech_recogition api for python to make homeautomation via voice controle. But I wanted to improve accuracy and I dont know what exactly I did but am getting this error. Is there any good tutorial for this? Yes one thing, to install sphinxtrainer i just dir

    ./configure
    make
    sude make install
    

    was that enough to beign with tutorial given here https://cmusphinx.github.io/wiki/tutorialadapt/
    is that okay??.. I have many such questions. Please answer ASAP

     
    • Nickolay V. Shmyrev

      You can install valgrind and run

       valgrind sphinx_fe -argfile en-us/feat.params -samprate 16000 -c arctic20.fileids -di . -do . -ei wav -eo mfc -mswav yes
      

      to get more information about crash

       
  • Govind Singh

    Govind Singh - 2017-10-31

    Thanks, I found out that my recodings had a problem. I should have recorded it in 16000 samplerate. But the recorder's default was not that and I did't paid much heed to it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.