

The length of the denominator's coefficients of the filter.ġ6-bit fixed point version of the LMS filter. The length of the numerator's coefficients of the filter. Parameters vect1Ī pointer on a 16-bit fixed-point vector of (size - num_size + 1) elements corresponding to the output buffer.Ī pointer on a 16-bit fixed-point vector of size elements corresponding to the input buffer. Warning Due to its implementation, for the avr32-uc3 optimized version of the IIR, the length of the output buffer (vect1) have to be multiple of 6 in order to avoid overflows.ġ6 bits fixed point version of the IIR. So when you use this feature, you have to prescale manually the denominator's coefficients by 2^den_prediv else leave this field to 0. The predivisor used to scale down the denominator's coefficients of the filter in order to avoid overflow values. So when you use this feature, you have to prescale manually the numerator's coefficients by 2^num_prediv else leave this field to 0. The predivisor used to scale down the numerator's coefficients of the filter in order to avoid overflow values. The length of the denominator's coefficients of the filter (must be a multiple of 2). The length of the numerator's coefficients of the filter (must be a multiple of 2).Ī pointer on a 16-bit fixed-point vector of den_size elements corresponding to the buffer containing the denominator's coefficients of the filter. ).Ī pointer on a 16-bit fixed-point vector of num_size elements corresponding to the buffer containing the numerator's coefficients of the filter.

The num_size previous elements correspond to old samples input samples have to be set to 0 at the initialization (x-1, x-2. ).Ī pointer on a 16-bit fixed-point vector of size elements corresponding to the input buffer. The den_size previous elements correspond to values of old output samples and have to be set to 0 at the initialization (y-1, y-2. Parameters yĪ pointer on a 16-bit fixed-point vector of size elements corresponding to the output buffer. More.ġ6-bit fixed point version of the IIR. More.ĭsp32_filt_nlms ( dsp32_t * x, dsp32_t * w, int size, dsp32_t new_x, dsp32_t d, dsp32_t *y, dsp32_t *e)ģ2-bit fixed point version of the NLMS filter. More.ĭsp32_filt_lms ( dsp32_t * x, dsp32_t * w, int size, dsp32_t new_x, dsp32_t d, dsp32_t *y, dsp32_t *e)ģ2-bit fixed point version of the LMS filter. More.ĭsp32_filt_iirpart ( dsp32_t *vect1, dsp32_t *vect2, int size, dsp32_t *num, int num_size, dsp32_t *den, int den_size, int num_prediv, int den_prediv)ģ2 bits fixed point version of the IIR. More.ĭsp32_filt_iir ( dsp32_t *y, dsp32_t * x, int size, dsp32_t *num, int num_size, dsp32_t *den, int den_size, int num_prediv, int den_prediv)ģ2-bit fixed point version of the IIR. More.ĭsp32_filt_fir ( dsp32_t *vect1, dsp32_t *vect2, int size, dsp32_t *h, int h_size)ģ2 bits fixed point version of the FIR. More.ĭsp16_filt_nlms ( dsp16_t * x, dsp16_t * w, int size, dsp16_t new_x, dsp16_t d, dsp16_t *y, dsp16_t *e)ġ6-bit fixed point version of the NLMS filter. More.ĭsp16_filt_lpfirdesign_windowed_sinc ( dsp16_t *c, int fc_hz, int fs_hz, int order)ġ6-bit fixed point version of the windowed sinc low-pass FIR filter design. More.ĭsp16_filt_lpfirdesign ( dsp16_t *c, int fc, int fs, int order)ġ6-bit fixed point version of the low-pass FIR filter design. More.ĭsp16_filt_lms ( dsp16_t * x, dsp16_t * w, int size, dsp16_t new_x, dsp16_t d, dsp16_t *y, dsp16_t *e)ġ6-bit fixed point version of the LMS filter. This function resort the coefficients of a FIR filter to be used with the function dsp16_filt_interpolation. More.ĭsp16_filt_interpolation_coefsort ( dsp16_t *fir_coefs, int n_tap, int interpolation_ratio)

More.ĭsp16_filt_interpolation ( dsp16_t *vect1, dsp16_t *vect2, int vect2_size, dsp16_t *h, int h_size, int interpolation_ratio) More.ĭsp16_filt_iirpart ( dsp16_t *vect1, dsp16_t *vect2, int size, dsp16_t *num, int num_size, dsp16_t *den, int den_size, int num_prediv, int den_prediv)ġ6 bits fixed point version of the IIR. More.ĭsp16_filt_iir ( dsp16_t *y, dsp16_t * x, int size, dsp16_t *num, int num_size, dsp16_t *den, int den_size, int num_prediv, int den_prediv)ġ6-bit fixed point version of the IIR. Note It does not take care of overflowing values.ĭsp16_filt_fir ( dsp16_t *vect1, dsp16_t *vect2, int size, dsp16_t *h, int h_size)ġ6 bits fixed point version of the FIR. These functions calculate lowpass FIR filter's coefficients. Note The data have to be scaled to avoid overflowing values.Īll the vectors have to be 32-bit aligned.
