none
Kinect + SpCreateDefaultObjectFromCategoryId = SPERR_NOT_FOUND RRS feed

  • Question

  • I've created a solution which uses the microsoft SAPI to recognize speech defined in a grammar file.

    On its own, this code works fine. However, when I integrate it with the same program which is running the Kinect SDK, it fails on the line:

    hr = cpRecognizer->SpGetDefaultTokenFromCategoryId(SPCAT_AUDIOIN,&pAudioToken);
    //At this point, HR == -2147200966 == SPERR_NOT_FOUND

    I have tried plugging in a microphone which is external to the kinect into an available microphone port and setting it to be the default microphone. This did not bring me any joy, either.

    I then use the pAudioToken to call cpRecognizer->SetInput(pAudioToken,TRUE);

     

    (if you want StackOverflow kudos, answer this over on my SO question: http://stackoverflow.com/questions/9105440/kinect-spcreatedefaultobjectfromcategoryid-sperr-not-found)


    Clever, witty forum signature.
    • Moved by Rob Pan Tuesday, February 7, 2012 3:10 AM (From:Visual C++ General)
    Thursday, February 2, 2012 12:42 AM

All replies

  • Hi,

    According to your descritption,  I will move your thread to the correct forum for better support. Thanks for your understanding.

    Best Regards,

    Rob


    Rob Pan [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, February 7, 2012 3:09 AM