Menu

problems running pocketshinx_batch.exe under windows 7

Help
Greythax
2014-03-12
2022-06-26
  • Greythax

    Greythax - 2014-03-12

    I am attempting to transcribe a file that came with the sphinx4 release using the pocketsphinx_batch.exe that is contained in the pocketsphinx-0.8-win32 release under windows 7. I am supplying the appropriate paths and control files, but no matter what format of wav file I throw at it, I get the same error:

    ERROR: "batch.c", line 206: File length mismatch: 0x52494646 != 0x103ad, maybe it's not MFCC file
    ERROR: "batch.c", line 423: Failed to read MFCC from the file 'C:\Users\jxx\Downloads\pocketsphinx-0.8-win32\bin\Release/10001-90210-01803.wav'

    I am sure that I am missing something simple, but I can't find any kind of documentation on the error, nor the format to which it refers. Anyone have any advice? Thanks in advance for your help.

     
  • Nickolay V. Shmyrev

    What exactly is the command line you are using and what is the full output of the tool?

    To transcribe the file you need to use pocketsphinx_continuous, not pocketsphinx_batch:

      pocketsphinx_continuous -infile file.wav -hmm en-us -lm en-us.lm.dmp -dict cmu07a.dic
    
     
  • Jake

    Jake - 2014-03-12

    You probably did not set '-adchdr' and '-adcin' as arguments in pocketsphinx_batch. Their value be default are not working with wav file. It should be something like,

    pocketsphinx_batch -adcin yes -adchdr 44 ...

     
    • Fang LIU

      Fang LIU - 2022-06-26

      Thank you Jake it is working for me. :-)

       

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.