Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

VAD for 8Khz?

Edward_Buchwalter
339 Views
Hello,
Is there a VAD implementation for 8khz? The example is for 16khz and I was wondering if anyone has the filter parameters for 8khz sampling?
Thanks,
Ed
0 Kudos
2 Replies
PaulF_IntelCorp
Employee
339 Views
Hello Ed,

I'm not familiar with the internals of the VAD sample, but if it has similar characteristics to the echo cancelation sample the following insights might be useful.

Below is a quote from another thread regarding the application of 8 kHz data versus 16 kHz data for echo cancelation, from the engineer that implemented this code (he's on vacation right now). Perhaps the same notion can be applied to the VAD sample?

Hope this helps,

Paul


Re: EC and NR


Hi

IPP Echo canceller frame size is always equal to 160 bytes. Buffering is fully being done internally.EchoCancel function must be fed with data correspondent to 10 ms of 8 Khz and 5 ms of 16 Khz audio (which in case of linear PCMrepresented by 160 bytes both).So, for 20ms packet of 8KHz audio you shall to call it twice.

EC works with linear PCM. I guess the noise problem you mentioned was caused bythat you fed a-law to EC.160 bytes of A-law represents 20 ms of 8KHz audio.After convertion you will get160 linear samples (320 bytes), i.e. two EC frames. You may do convertion by IPP functionippsAlawToLin_8u16s.

Hope this help.
Vyacheslav
0 Kudos
Naveen_G_Intel
Employee
339 Views
Hi Edward,
As i know the VAD detection samples component processes input PCM file narrow band 16bit 8Khz or wide band 16bit 16Khz and creates output PCM file narrow band 16bit 8Khz or wide band 16bit 16khz respectively.

Regards,
Navene Gv
0 Kudos
Reply