How to send raw PCM audio buffer to recognizer?

Home Forums OpenEars How to send raw PCM audio buffer to recognizer?

Viewing 2 posts - 1 through 2 (of 2 total)

  • Author
    Posts
  • #1017108
    lparker
    Participant

    Hello,

    What is the best way to interface with OpenEars if I handle the audio capture on my own and thus already have a ringbuffer of linear PCM samples?

    Any help appreciated.

    Thanks,

    Linda

    #1017114
    Halle Winkler
    Politepix

    Welcome Linda,

    The only way to do this in the API is to write them out as a WAV and submit them to runRecognitionOnWavFileAtPath:(NSString *)wavPath usingLanguageModelAtPath:(NSString *)languageModelPath dictionaryAtPath:(NSString *)dictionaryPath languageModelIsJSGF:(BOOL)languageModelIsJSGF;

    However, it should be pretty quick since it doesn’t need to calibrate.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.