[Speex-dev] VAD

Shantanu Gramsci shantanu_khan at yahoo.com
Wed Jan 11 17:55:18 PST 2006

Hello all,

I need help to get right usage of Voice Activity

-- In my application, before sending audio packets
network I 'preprocess' them with speex preprocessor.
At initialization, I set the control option for VAD in
speex preprocessor [along with denoise, AGC etc]. And
then for every packet I call one single funtion
which does return 'pre-preocessed' audio sample.

-- With this implementation VAD works like that, if
voice is stationary [or background noise], preprossor
returns silence packets. So silcene packets are sent
if VAD is ON and there is no reduction in bitrate.

-- But I want to send nothing if silence is detected. 
How can I know that speex preprocessor has detected
silence and I donot need to send this packet over

Does speex_preprocess(,,,); return value mean anything
specific to VAD?

Or is three any flag that is set if silence is

Thanks in advance.

-- Shantanu

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the Speex-dev mailing list