Generating comfort noise with preprocessor VAD
Sreekanth Annapureddy <[email protected]> Thu, 8 Mar 2012 17:18:50 -0800
| Newsgroups | gmane.comp.audio.compression.speex.devel |
|---|---|
| Message-ID | <CAEdemHo3S=coTt_TQCpz4u2sNyBjN6TciOXDWAmf2L6gSgz3AQ@mail.gmail.com> |
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 _______________________________________________ Speex-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/speex-dev