Contents

vDSP_biquadm

Applies a single-precision multichannel biquad IIR filter.

Declaration

void vDSP_biquadm(vDSP_biquadm_Setup __Setup, const float * _Nonnull *__X, vDSP_Stride __IX, float * _Nonnull *__Y, vDSP_Stride __IY, vDSP_Length __N);

Parameters

  • __setup:

    The vDSP_biquadm_Setup object defining the filter to apply.

  • __X:

    An array of pointers, each of which specifies an array of single-precision input data for a single channel.

  • __IX:

    Stride for X (see Discussion below).

  • __Y:

    An array of pointers, each of which specifies an array of single-precision output data for a single channel.

  • __IY:

    Stride for Y (see Discussion below).

  • __N:

    The number of elements to filter.

Discussion

For each channel, this function applies a cascaded biquad filter to the input values specified by the channel’s pointer in X.

The function places the results in the array specified by the corresponding pointer in Y.

The function supports interleaved data. In this case, define the stride as the number of channels, and the pointers as consecutive locations in memory.

The function updates the state contained in the setup object upon return.