[Speex-dev] Generating comfort noise with preprocessor VAD

Sreekanth Annapureddy sreekanthav at gmail.com
Thu Mar 8 17:18:50 PST 2012


Hello,

I am trying to use the preprocessor VAD to encode at lower bitrate during
silence periods. I am able to run the preprocessor and get the VAD flag for
each frame, and I am quite happy with it's performance.

I would like to know how to pass the preprocessor VAD flag to speex encoder
--  basically, i want to force the encoder to generate comfort noise when
preprocessor detects silence.

Currently, as a work around, I am encoding speech frames at high quality,
and silence frames at low quality (say 0). But lower quality audio (silence
or speech from far-away people) sounds really bad, and I want to know how
to substitute these non-speech frames with comfort noise. I know that
comfort noise is inserted automatically if I use the VAD provided by codec,
but I want to know how to achieve the same using preprocesser VAD.

Thanks,
Sreekanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20120308/c44c2e2b/attachment.htm 


More information about the Speex-dev mailing list