Menu

Pocketsphinx in BeagleBoard + Angstrom Linux

Help
2011-02-04
2012-09-22
  • Diego Garcia

    Diego Garcia - 2011-02-04

    Hi everybody!,

    I'm having troubles with using pocketsphinx on my beagleboard. I work with
    Angstrom linux distro, but the ipks available from the angstrom repository
    seem to be quite old, so i've tried to compile pocketsphinx and sphinxbase
    from the last version.

    I've compiled sphinxbase and I noticed that configure file doesn't find
    asoundlib.h, so I guess it's not loading alsa support. I've not found which
    package I should install to get this libraries loaded, so I've continued with
    compiling pocketsphinx.

    Finally, when I run pocketsphinx_continuous I get the following message:

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

    So I've tried to use AOSS to wrap with alsa default device. Pocketsphinx runs
    and it reaches READY, but after "listening" I get the following message:
    "READY....
    Listening...
    Audio ioctl(SYNC) failed: Resource temporarily unavailable"

    I don't know how to continue, I've asked in beagleboard chats, but nobody
    knows how to proceed. Can you help me?

    Best regards,

    Diego

     
  • Nickolay V. Shmyrev

    So I've tried to use AOSS to wrap with alsa default device. Pocketsphinx
    runs and it reaches READY, but after "listening" I get the following message:

    It's better to compile sphinxbase with alsa support. It compiled with oss
    support because you missed alsa developement package. asoundlib.h is part of
    libasound2-dev in debian-based distributions.

     

Log in to post a comment.