ocmsp_filter_sos

 

Description

Second order (biquadratic) IIR digital filtering

Syntax

int ocmsp_filter_sos( const double * px, double * py, UINT n, const double * pSOS, UINT nsec, double gain )

Parameters

px
[input] input data
py
[output] output data
n
[input] size of data
pSOS
[input] second-order section filter matrix, size nsec-by-6
nsec
[input] number of sections
gain
[input] overall gain of filter

Return

Return OE_NOERROR if succeed, otherwise, non-zero error code is returned (OE_NULL_POINTER, OE_INVALID_SIZE or OE_BAD_PARAM)

Examples

Remark

See Also

ocmsp_filter, ocmsp_filtfilt, ocmsp_filtfilt_sos

header to Included

ocmsp.h

Reference