I am trying pocketsphinx_continuous on Ubuntu 14.04. But there seems to be some errors on JACK. The program always give me the following two error messages.
JACK error: Cannot connect to server socket err = Connection refused
JACK error: Cannot connect to server request channel
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK: buffer is full. Deactivating JACK client.
The recognition results are very strange and clearly wrong. I also git clone the newest pocketsphinx from github, and install pocketsphinx as the website suggests. The program runs for a while and stuck at "INFO: continuous.c(275): Ready....", so I have to termincate the program by "ctrl+c". And sometimes, a process with the ID "jackd" still keeps running when I terminate the program.
How can I fix the problem? Below is the log message.
try to look at the include folder /usr/include/sound
there should be pulse and jack header.
rename it (don't remove it - because you need may need it by other application
that you create - that not cmu specfiied)
make clean
and recompile - dont forget make install
you can use the undocumented ./configure --prefix=/opt/SphinxBase
parameter, to compile/install CMUsphinx in alternative folder.
hope this helps
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
that depends what/how your gcc is installed.
it seems, you have only install linux headers from kernel
usally /usr/include is default - may be you have a symlink to /usr/src... ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying pocketsphinx_continuous on Ubuntu 14.04. But there seems to be some errors on JACK. The program always give me the following two error messages.
JACK error: Cannot connect to server socket err = Connection refused
JACK error: Cannot connect to server request channel
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK: buffer is full. Deactivating JACK client.
The recognition results are very strange and clearly wrong. I also git clone the newest pocketsphinx from github, and install pocketsphinx as the website suggests. The program runs for a while and stuck at "INFO: continuous.c(275): Ready....", so I have to termincate the program by "ctrl+c". And sometimes, a process with the ID "jackd" still keeps running when I terminate the program.
How can I fix the problem? Below is the log message.
Hello,
try to look at the include folder /usr/include/sound
there should be pulse and jack header.
rename it (don't remove it - because you need may need it by other application
that you create - that not cmu specfiied)
make clean
and recompile - dont forget make install
you can use the undocumented ./configure --prefix=/opt/SphinxBase
parameter, to compile/install CMUsphinx in alternative folder.
hope this helps
Jens
Hi Jens,
I didn't find jack.h under /usr/include/sound, but I found jack.h in the following path. which one should I change?
And I didn't find pulse.h anywhere.
Thanks for your help.
Junjie
Last edit: Junjie 2016-03-20
that depends what/how your gcc is installed.
it seems, you have only install linux headers from kernel
usally /usr/include is default - may be you have a symlink to /usr/src... ?
For info, I removed jack from sphinxbase, that seems to be troublesome and nobody is really using it. Pulseaudio should work ok.