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
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.
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:
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:
Thanks for your help.
The tutorial: http://cmusphinx.sourceforge.net/wiki/gstreamer
sphinxbase/pocketsphinx: current snapshot
Please dump the audio you are passing in vader to the file to let us reproduce
the problem. Please share the data.