Menu

ad_open_dev failed when running pocketsphinx

Help
2010-06-18
2012-09-22
  • Tang Lung Cheung

    I got the following error message when running pocketsphinx-0.6 with
    sphinxbase-0.6 on MAC OS 10.6.3

    INFO: s2_semi_mgau.c(921): BEGIN FILE FORMAT DESCRIPTION
    INFO: s2_semi_mgau.c(1016): Using memory-mapped I/O for senones
    INFO: s2_semi_mgau.c(1293): Maximum top-N: 4 Top-N beams: 0 0 0
    INFO: dict.c(294): Allocating 4122 * 32 bytes (128 KiB) for word entries
    INFO: dict.c(306): Reading main dictionary: 6543.dic
    INFO: dict.c(206): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(309): 15 words read
    INFO: dict.c(314): Reading filler dictionary:
    /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/noisedict
    INFO: dict.c(206): Allocated 0 KiB for strings, 0 KiB for phones
    INFO: dict.c(317): 11 words read
    INFO: dict2pid.c(402): Building PID tables for dictionary
    INFO: dict2pid.c(409): Allocating 26 * 8 bytes (0 KiB) for word-internal
    arrays
    INFO: dict2pid.c(414): Allocating 50^3 * 2 bytes (244 KiB) for word-initial
    triphones
    INFO: dict2pid.c(453): Allocating 35 entries of 2 bytes (0 KiB) for internal
    ssids
    INFO: dict2pid.c(130): Allocated 60400 bytes (58 KiB) for word-final triphones
    INFO: dict2pid.c(193): Allocated 60400 bytes (58 KiB) for single-phone word
    triphones
    INFO: ngram_model_arpa.c(476): ngrams 1=16, 2=28, 3=14
    INFO: ngram_model_arpa.c(135): Reading unigrams
    INFO: ngram_model_arpa.c(515): 16 = #unigrams created
    INFO: ngram_model_arpa.c(194): Reading bigrams
    INFO: ngram_model_arpa.c(531): 28 = #bigrams created
    INFO: ngram_model_arpa.c(532): 3 = #prob2 entries
    INFO: ngram_model_arpa.c(539): 3 = #bo_wt2 entries
    INFO: ngram_model_arpa.c(291): Reading trigrams
    INFO: ngram_model_arpa.c(552): 14 = #trigrams created
    INFO: ngram_model_arpa.c(553): 2 = #prob3 entries
    INFO: ngram_search_fwdtree.c(99): 13 unique initial diphones
    INFO: ngram_search_fwdtree.c(147): 0 root, 0 non-root channels, 12 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, 12
    single-phone words
    INFO: ngram_search_fwdtree.c(324): after: max nonroot chan increased to 163
    INFO: ngram_search_fwdtree.c(333): after: 13 root, 35 non-root channels, 11
    single-phone words
    INFO: ngram_search_fwdflat.c(153): fwdflat: min_ef_width = 4, max_sf_win = 25
    A/D library not implemented
    FATAL_ERROR: "continuous.c", line 259: ad_open_dev failed

     
  • Nickolay V. Shmyrev

    Hello ctldenon

    Native audio input from microphone for Mac OS is missing now unfortunately,
    you can only try to decode
    from prerecorded wav file.

    The solution we propose right now is to take a look at VoiceKit, a project to
    support pocketsphinx on Mac OS:

    http://github.com/KingOfBrian/VocalKit

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.