Function

vDSP_biquadm_SetCoefficientsSingle(_:_:_:_:_:_:)

Updates the filter coefficients within a valid single-precision multichannel biquad IIR filter object. Filter coefficients are given in single precision.

Declaration

func vDSP_biquadm_SetCoefficientsSingle(_ __setup: vDSP_biquadm_Setup, _ __coeffs: UnsafePointer<Float>, _ __start_sec: vDSP_Length, _ __start_chn: vDSP_Length, _ __nsec: vDSP_Length, _ __nchn: vDSP_Length)

Parameters

__setup

The filter state object whose coefficients you wish to update.

__coeffs

An input array of single-precision coefficients.

__start_sec

First section to update in each channel.

__start_chn

First channel to update.

__nsec

Number of sections to update in each channel.

__nchn

Number of channels to update.

Discussion

The existing setup is modified by applying the values in coeffs to the specified ranges of channels and sections.

This function does not allocate any additional memory.

The coeffs array contains only the new coefficients, laid out in the same way as the original array of coefficients – as if laying out original coefficients for nsec sections in nchn channels. See discussion for vDSP_biquadm_CreateSetup.

See Also

Setting Coefficients

func vDSP_biquadm_SetCoefficientsDouble(vDSP_biquadm_Setup, UnsafePointer<Double>, vDSP_Length, vDSP_Length, vDSP_Length, vDSP_Length)

Updates the filter coefficients within a valid single-precision multichannel biquad IIR filter object. Filter coefficients are given in double precision.