Menu

gstreamer-example: vader on OSX broken?

Help
Daniel
2012-03-16
2012-09-22
  • Daniel

    Daniel - 2012-03-16
    Hi, I got pocketsphinx to install without big issues after installing some
    additional packages from macports:

    sudo port install gst-plugins-base py27-gst-python gst-plugins-good

    and following "port notes dbus"

    When trying to use the python example provided on the website, it fails to
    recognize anything.

    Using the following pipeline does not create any raw-files:

    osxaudiosrc ! audioconvert ! audioresample ! vader name=vad auto-threshold=true dump-dir=/Users/me/pocketsphinx ! pocketsphinx name=asr ! fakesink
    

    Forcing vader to silent=false after starting the pipeline gives a 0-byte raw
    file every time you click "start".

    Using the following pipeline works and creates an oggfile with the microphone
    recordings:

    osxaudiosrc ! audioconvert ! audioresample ! vader auto-threshold=true ! vorbisenc ! oggmux ! filesink location=/Users/me/pocketsphinx/pytest.ogg
    

    Thanks for your help.

    The tutorial: http://cmusphinx.sourceforge.net/wiki/gstreamer
    sphinxbase/pocketsphinx: current snapshot

     
  • Nickolay V. Shmyrev

    Please dump the audio you are passing in vader to the file to let us reproduce
    the problem. Please share the data.

     

Log in to post a comment.