![]() ![]() usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/feat.params INFO: acmod.c(246): Parsed model-specific feature parameters from None \ -cmn current \ -cmninit 56,-3,1 \ -varnorm no upperf 4000 \ -wlen 0.025 \ -transform dct \ -round_filters no \ INFO: cmd_ln.c(691): Parsing command line: \ -nfilt 20 \ -lowerf 1 \ \ -adcdev plughw:1,0 \ -nfft 2048 \ -samprate 48000Ĭurrent configuration: samprate 48000 INFO: cmd_ln.c(691): Parsing command line: /usr/install/pocketsphinx-0.8/src/programs/.libs/lt-pocketsphinx_continuous Src/programs/pocketsphinx_continuous -adcdev plughw:1,0 -nfft 2048 -samprate 48000 Think i'm going crazy but not sure if I'm providing the correct input device. Just installed pocketsphinx on my raspberry pi. I will be reinstalling pulseaudio to see if it will coexist with pocketsphinx now that it is compiled. There probably is a way to get it to work with pulseaudio, but once the above worked, I have not gone back. The adcdev parameter was required for pocketsphinx to find the mic even though it is the default. The nfft parameter is needed to clear the frame size error. To get any kind of usable results with the default dictionaries. Pocketsphinx_continuous -samprate 48000 -nfft 2048 -adcdev sysdefault Assured that they worked, I then tried pocketsphinx_continuous. ![]() configure, I could see that ALSA was finally accepted.Īfter that, I retested arecord and aplay. Then I proceeded withĪgain, watching the progress of. ![]() There were a couple of pulseaudio remnants (like the pulseaudio.h and libpulsecommon-2.0.so). So, I uninstalled pulseaudio with the apt-get -purge. configure progress, I could see that if pulseaudio was present, configure would skip trying to use ALSA. I could arecord and aplay without problems. Pulseaudio would not see my (cheap) USB Sound device. I could not get it to work with pulseaudio. I struggled quite a bit trying to get Pocketsphinx to work. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |