I got rid of the buffer error. Now just getting null hypothesis.
I stopped for a moment to test my mic. Didn't work. Had to install libasound2-dev and recompile sphinxbase. Once done works fine from command line via:
pocketsphinx_continuous -inmic yes
The following code runs with no error. It only seems to return null hypothesis. I ge this console note every few seconds.
I've been trying to piece this together from various sources. I'm close but getting an error.
I'm getting a java.nio.BufferUnderflowExectpion. This is the only java example I've found to base this off of. https://github.com/cmusphinx/pocketsphinx/blob/master/swig/java/test/DecoderTest.java
Thanks
I got rid of the buffer error. Now just getting null hypothesis.
I stopped for a moment to test my mic. Didn't work. Had to install libasound2-dev and recompile sphinxbase. Once done works fine from command line via:
The following code runs with no error. It only seems to return null hypothesis. I ge this console note every few seconds.
Just to add more information.
kws works perfect via command line.
keyphrase.list
I get a hit every time.
You already asked your question here:
http://stackoverflow.com/questions/38835583/why-is-pocketsphinx-returning-a-null-hypothesis-via-java-with-kws-works-via-com
and here:
https://sourceforge.net/p/cmusphinx/discussion/help/thread/4304b33c/?limit=25#3c2c
There is no need to ask so many times.