Menu

pocketsphinx porting to android

Help
Feng
2017-04-24
2017-04-24
  • Feng

    Feng - 2017-04-24

    Hello,
    I know there's a android tutorial (http://cmusphinx.sourceforge.net/wiki/tutorialandroid), but what I want is not a standalone app, but rather a library that any user land sw (not necessarily apk) can call, to detect certain words in a passed in audio stream (I have complete control of it).
    I wonder if there's any document that explains the various parts inside the sphix. From code browse, I see the sphinxbase package contains alsa code (src/libsphinxad/ad_alsa.c) which I don't need.
    To port it over I think I will need to write the Android.mk files (not using IDE). Just wonder if anyone has done so.
    Thanks!

     
  • Feng

    Feng - 2017-04-24

    Sorry this didn't answer my question. I want a lower level interface (C/C++), not java. And the library is not AAR or JAR, but some kind of .so.

     
    • Nickolay V. Shmyrev

      You still have to use cmake and gradle. The example is in the repository linked above.

       

Log in to post a comment.