1.4.2.56 DSP_TransformWinInit_Kaiser32 Function

Create a Kaiser window.

Description

void DSP_TransformWinInit_Kaiser32(int32_t *OutWindow, int N);

Create a N-element Kaiser Window, and store the output to OutWindow. Operations are performed at higher resolution floating point, and rounded for the most accuracy possible. Output values are in Q31 fractional format. The Kaiser Window follows the equation:

Window(n) = 0.402 - 0.498 * COS(2Pin/N) + 0.098 * cos(4Pin/N) + 0.001 * cos(6Pin/N) where n is the window sample number, N is the total number of samples

Preconditions

N must be a positive number. OutWindow must be declared with N elements or larger.

Parameters

OutWindow pointer to output array of elements (int32_t)

N number of samples (int)

Returns

None.

Remarks

This function is performed in C. The function may be optimized for the library. It is dependent on the floating point math library.

The functional window is an intermediate result that needs to be multiplied by an input vector prior to FFT processing. Because of significant processing time the window need only be computed once and the multiply of the (window * input) vector done during recurring loop processing.

C

void  DSP_TransformWinInit_Kaiser32 (int32_t * OutWindow , int  N );