Function

vDSP_biquadm(_:_:_:_:_:_:)

Applies a single-precision multichannel biquad IIR filter.

Declaration

func vDSP_biquadm(_ __Setup: vDSP_biquadm_Setup, _ __X: UnsafeMutablePointer<UnsafePointer<Float>>, _ __IX: vDSP_Stride, _ __Y: UnsafeMutablePointer<UnsafeMutablePointer<Float>>, _ __IY: vDSP_Stride, _ __N: vDSP_Length)

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 to be filled with 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, and places the results in the array specified by the corresponding pointer in Y.

The data for multiple channels can be interleaved in memory. In this case the stride must be equal to the number of channels, and the pointers to consecutive channels must point to consecutive locations in memory.

The state contained in the setup object is updated upon return.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software