Menu

decoding raw audio

Help
andressr
2009-06-26
2012-09-22
  • andressr

    andressr - 2009-06-26

    Hi,
    I'm building a speech server using Sphinx3 API, but i can't make it recognize speech in raw format. I've taken livedecode as example. I've build and test spanish acustic and language models with SphinxTrain.
    The program run fine but it doesn't recognize correctly any speech sample.

    The small program, the models and a couple of test are at
    http://www.mediafire.com/file/2lmfjy2hyiv/simple.zip

    I'm using sox to convert the audio to raw 16bites 16kHz mono, encode signed and unsigned (i've tested both).

    Thansk in advance,

    Andres

     
    • Nickolay V. Shmyrev

      It looks like you incorrectly extracted the features during the model training and as a result the model is not usable. Check the make_feats once again. Make sure you are using proper wav files, that you have enough data and that you are using proper arguments.

      Also, your program crashes in the middle because of

                strcpy(hypstr,"");
      

      The hypstr is obvously undefined, you can't copy the data there.

       

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.