[gst-devel] how to record mic input while processing via pocketsphinx

Evren Esat Özkan sleytr at gmail.com
Sat Feb 5 00:50:24 CET 2011


Hello,

I'm trying to write a pipeline that records audio to disk while doing
voice recognition via pocketsphinx (I want to stop the recording when user
say a predefined keyword). I've spend hours on various alternative
pipelines but can't accomplish anything. The simplified python code can be
seen at the url bellow. It creates an empty wav file and speech
recognition works only for once.

http://pastebin.com/EvSgy0i7

I'd appreciate any help with this.
Evren




More information about the gstreamer-devel mailing list