I'm using pocketsphinx and sphinxbase 5 alpha on a Raspberry Pi Model B with Rasbian Jessie. I have a Samson GoMic that I use for sound input but I have PulseAudio set as my default. This is going to sound incredibly unhelpful, but I had it working once, I tried to add a wifi dongle, and the pi then got stuck constantly at ready and never progressing to listening. I've tried to reconfigure the files both for pocketsphinx and sphinxbase and then reinstall them.
I know that the mic isn't broken. If i use arecord for the default, it records .wav files. -adcdev hasn't been successful either.
If anyone can has any suggestions, I'll appreciate it greatly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using pocketsphinx and sphinxbase 5 alpha on a Raspberry Pi Model B with Rasbian Jessie. I have a Samson GoMic that I use for sound input but I have PulseAudio set as my default. This is going to sound incredibly unhelpful, but I had it working once, I tried to add a wifi dongle, and the pi then got stuck constantly at ready and never progressing to listening. I've tried to reconfigure the files both for pocketsphinx and sphinxbase and then reinstall them.
I know that the mic isn't broken. If i use arecord for the default, it records .wav files. -adcdev hasn't been successful either.
If anyone can has any suggestions, I'll appreciate it greatly.
Make sure pocketsphinx is built with pulseaudio support. Use the command
To check if it links with pulseaudio libraries.
Check that pulsaudio works, command is
parecord, notarecordOk so pocketsphinx is link with the pulseaudio libraries... i think... I get this:
I think the issue is that pulseaudio is not taking in sound since when I used parecord I had a file with no sound in.
Last edit: James Glenister 2016-04-25
Ok so I finally got it to work. Thank you Nickolay. The site that helped get pulseaudio working was https://wiki.debian.org/PulseAudio#The_lack_of_playback_devices_or_audio_capture