Hi,
I think I've found a solution to my question. I've removed the "appsink
sync=false name=appsink" part of the pipe and it worked. This is working
pipeline:
pulsesrc ! audioconvert ! audioresample ! tee name=t ! queue ! vader
name=vad auto-threshold=true ! pocketsphinx name=asr t. ! queue ! wavenc
! filesink location=o.wav
Evren
On Sat, 05 Feb 2011 01:50:24 +0200, Evren Esat Özkan <
[hidden email]>
wrote:
> 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
--
Using Opera's revolutionary email client:
http://www.opera.com/mail/------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel