Hi I have a pipeline that decodes an ogg file and passes it through the vader element from pocketsphinx<div>to detect silent regions. I attach to a signal in the vader element to print the current timestamp to log</div><div>
these silent regions. I also play to the pulse audio sink.</div><div><br></div><div>The pipeline is</div><div><br></div><div>filesrc name=source ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! vader name=vad auto-threshold=true ! pulsesink</div>
<div><br></div><div>The problem is its hard to debug as the vader element runs ahead of the off playing.</div><div>Is there a way to synchronize the vader and pulsesink elements so I can print the timestamp of the silent regions </div>
<div>at the same time I hear them being played ?</div><div><br></div><div>Thanks</div><div><br></div>