Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#319 cython bindings for sphinxbase cont_ad API

None
open
nobody
None
5
2014-07-08
2012-05-10
Scott Silliman
No

sorry about creating cython bindings as compared to swig, but I've got a deadline here at work :( Unfortunately, I've only tested this on Fedora 14. I have a boolean in my test script to enable recognition in pocketsphinx. the mic jack on my work machine is broken and all of my audio is really noisy, so my recognition was pretty bad. I was encouraged though when recognizing it from the .raw file was just as bad. If recognition seems poorer than usual for you as well, let me know - perhaps the way I'm converting the int16* audio buf to a python string in order to pass it to pocketsphinx's cython function . My AudioBuffer class is probably over-engineered - if there's a simpler way, let me know.

Discussion

  • Scott Silliman
    Scott Silliman
    2012-05-10

    my test script

     
    Attachments
  • Ticket moved from /p/cmusphinx/patches/92/