I have been working on installing and configuring PocketSphinx for a TI L138 LCDK dev board, and I am having some trouble with the audio device. I am relatively new to linux and am not sure how to proceed. I cross-compiled SphinxBase and PocketSphinx on host with the following commands for each:
./autogen.sh --host=arm-arago-linux-gnueabi --build=i686-linux-gnu --without-python
./configure --host=arm-arago-linux-gnueabi --build=i686-linux-gnu --without-python
make
make install DESTDIR=/home/parallels/ps/install
I attempted to run pocketsphinx_continuous with the following command and arguments:
Connection refused means it was compiled with pulseaudio, you need to start pulseaudio daemon to record audio.
Alternatively you can compile with alsa, you need to edit configure.ac for that, or you can termporary remove pulse headers. Unfortunately our system is not well suited for cross-compilation, it selects framework automatically based on detected headers.
You can find details on what system was selected in config.log
Hi again,
I have been working on installing and configuring PocketSphinx for a TI L138 LCDK dev board, and I am having some trouble with the audio device. I am relatively new to linux and am not sure how to proceed. I cross-compiled SphinxBase and PocketSphinx on host with the following commands for each:
I attempted to run pocketsphinx_continuous with the following command and arguments:
After a few lines of output, I receive the following error:
I understand that this is likely an issue with configuring ALSA; however, I am unsure what steps are necessary to do so. Thanks in advance!
I don't seem to have the option to attach a file, so I haven't included the rest of the output. I will try to post in a reply if possible.
Connection refused means it was compiled with pulseaudio, you need to start pulseaudio daemon to record audio.
Alternatively you can compile with alsa, you need to edit configure.ac for that, or you can termporary remove pulse headers. Unfortunately our system is not well suited for cross-compilation, it selects framework automatically based on detected headers.
You can find details on what system was selected in config.log
For more details see
http://cmusphinx.sourceforge.net/wiki/faq#qfailed_to_open_audio_device_dev_dspno_such_file_or_directory
This is the full output from the terminal upon running the pocket_continuous command as described in my previous post