Menu

[ps_continuous] Failed top open audio device

Help
gef
2012-04-03
2019-02-06
  • gef

    gef - 2012-04-03

    Hello.
    I have a problem with pocketsphinx_continuous. I install sphinxbase and
    pocetsphinx succesfully. But at run pocketsphinx_continuous get:

    INFO: ngram_search_fwdflat.c(156): fwdflat: min_ef_width = 4, max_sf_win = 25
    INFO: continuous.c(367): pocketsphinx_continuous COMPILED ON: Apr  3 2012, AT: 17:50:38
    
    ad_oss.c(103): Failed to open audio device(/dev/dsp): No such file or directory
    FATAL_ERROR: "continuous.c", line 242: Failed top open audio device
    

    I use Xubuntu 11.10. Google suggests me to use "padsp" for create virtual DSP
    for my process.

    gef@gef-laptop:~$ padsp pocketsphinx_continuous 
    ...
    ioctl(NONBLOCK) failed: Invalid argument
    FATAL_ERROR: "continuous.c", line 242: Failed top open audio device
    

    Can you help me?

     
  • kimia

    kimia - 2012-04-25

    I had install both ALSA and oss-compat, but still I get this error :

    ad_oss.c(103): Failed to open audio device(/dev/dsp): No such file or
    directory
    FATAL_ERROR: "continuous.c", line 242: Failed top open audio device

    I have no idea what to do next? any ideas? :(

     
    • kalaivanan தமிழ்

      Please let me know how to install ALSA and oss-compat. Am using 12th version of ubuntu.. Bt in ubuntu forum they says "Ubuntu has chosen to disable OSS support in their kernels and ignore any bugs filed against OSS4 packages. If you're considering using OSS4, you should probably use another Linux distro like Arch Linux. This page remains for historical/reference reasons"

       
  • Nickolay V. Shmyrev

    Install alsa development package and recompile sphinxbase.

     
    • Cindy Chang

      Cindy Chang - 2019-02-06

      By recompile, does it mean to configure and make install again?
      After installing pulseaudio, libpulse-dev, osspd, do I also need to recompile pocketsphinx after I reinstall sphinxbase? Thanks!

       

      Last edit: Cindy Chang 2019-02-06
  • jinyang

    jinyang - 2012-07-09

    Run "modprobe snd_pcm_oss" as root

     
    • kalaivanan தமிழ்

      When i type
      "modprobe snd_pcm_oss"

      FATAL: Module snd_pcm_oss not found.

       

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.