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

Converting audio 44.1Khz sampling to 48Khz rate.

IDZ_A_Intel
Employee
438 Views

Can anyone point to or post some sample code that can assist in this?

Do I want ot use ResamplePolyphaseInitAlloc or ResamplePolyphaseFixedInitAlloc(). I'm thinking the later, but want to be sure.

What are the units of rollof? Are they in Hz, or KHz?

How does one determine the alpha for the Kaiser window? Is 0.95 a good guess?

If we need to use ResamplePolyphaseInitAlloc, then what are the suitable values for the window and step parameters?

Thanks.

0 Kudos
1 Reply
Intel_C_Intel
Employee
438 Views

Ipp resampling example contains the code of block-wise resampling of the long input signal. You could download it from the Intel site.

Link to the description of the general (variable rate) resampling filter could be taken from the manual (roll-off frequency and window are parameters of the ideal resampling filter). For fixed resampling filters (fixed rational rate)the filter length is defined directly. Fixed filters are faster.

Thanks,

Alexander

The Intel IPP functions described in this section build, apply and free Kaiser-windowed polyphase filters for data resampling. Functions with

Fixed suffix are intended for fixed rational resampling factor and provide faster speed. Functions without this suffix build universal resampling filter with linear interpolation of filter coefficients and allow to use a variable factor. The general description of the polyphase resampling algorithm can be found, for example, in Multirate Digital Signal Processing by R. Crochiere and L.Rabiner, Prentice Hall, 1983. Some of these functions are used in the Intel IPP Speech recognition Sample. See Speech Processing sample downloadable from http://www.intel.com/cd/software/products/asmo-na/eng/perflib/ipp/index.htm.

0 Kudos
Reply