Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # pulse audio + pocketsphinx testing
- #### #############################
- #### based on the following:
- #### root@scarlettpi:~# cat /etc/asound.conf
- #### pcm.pulse {
- #### type pulse
- #### }
- ####
- #### ctl.pulse {
- #### type pulse
- #### }
- ####
- #### pcm.!default {
- #### type pulse
- #### }
- ####
- #### ctl.!default {
- #### type pulse
- #### }
- #### root@scarlettpi:~#
- ####
- #### AND ... the daemon is running... again this is a raspberry pi, shouldnt be any need for it to run in single user mode.
- ####
- #### root@scarlettpi:~# ps aux | grep pulse
- #### pulse 2793 0.1 1.0 96396 4748 ? S<l 21:55 0:00 /usr/bin/pulseaudio --system --disallow-exit --disallow-module-loading=1 --daemonize --log-target=syslog --high-priority
- #### root 3085 0.0 0.1 3544 808 pts/0 S+ 22:05 0:00 grep pulse
- #### root@scarlettpi:~#
- i'm going to try and run the following command. Any immediate issues that stand out?
- root@scarlettpi:~# pocketsphinx_continuous -adcdev Pulse -mftt=512 -samprate 48000 -lm /usr/install/pocketsphinx-0.8/custom_language/en_model.lm -dict /usr/install/pocketsphinx-0.8/custom_language/cmudict.hub4.06d.dict -hmm /usr/install/pocketsphinx-0.8/model/hmm
- OR I can run
- root@scarlettpi:~# pocketsphinx_continuous -adcdev pcm.pulse -mftt=512 -samprate 48000 -lm /usr/install/pocketsphinx-0.8/custom_language/en_model.lm -dict /usr/install/pocketsphinx-0.8/custom_language/cmudict.hub4.06d.dict -hmm /usr/install/pocketsphinx-0.8/model/hmm
- Ran both...........
- Got the following:
- [.......Blah blah blah blah blah]....
- INFO: ngram_search_fwdtree.c(99): 788 unique initial diphones
- INFO: ngram_search_fwdtree.c(147): 0 root, 0 non-root channels, 60 single-phone words
- INFO: ngram_search_fwdtree.c(186): Creating search tree
- INFO: ngram_search_fwdtree.c(191): before: 0 root, 0 non-root channels, 60 single-phone words
- INFO: ngram_search_fwdtree.c(326): after: max nonroot chan increased to 13428
- INFO: ngram_search_fwdtree.c(338): after: 457 root, 13300 non-root channels, 26 single-phone words
- INFO: ngram_search_fwdflat.c(156): fwdflat: min_ef_width = 4, max_sf_win = 25
- INFO: continuous.c(371): pocketsphinx_continuous COMPILED ON: Jul 22 2013, AT: 01:21:55
- Error opening audio device pcm.pulse for capture: Access denied
- FATAL_ERROR: "continuous.c", line 246: Failed to open audio device
- Sigh....What am I still missing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement