aiir


Apply an arbitrary Infinite Impulse Response filter.

It accepts the following parameters:

'z'

Set numerator/zeros coefficients.

'p'

Set denominator/poles coefficients.

'k'

Set channels gains.

'dry_gain'

Set input gain.

'wet_gain'

Set output gain.

'f'

Set coefficients format.

'tf'

transfer function

'zp'

Z-plane zeros/poles, cartesian (default)

'pr'

Z-plane zeros/poles, polar radians

'pd'

Z-plane zeros/poles, polar degrees

'r'

Set kind of processing. Can be d - direct or s - serial cascading. Default is s.

'e'

Set filtering precision.

'dbl'

double-precision floating-point (default)

'flt'

single-precision floating-point

'i32'

32-bit integers

'i16'

16-bit integers

'response'

Show IR frequency response, magnitude and phase in additional video stream. By default it is disabled.

'channel'

Set for which IR channel to display frequency response. By default is first channel displayed. This option is used only when response is enabled.

'size'

Set video stream size. This option is used only when response is enabled.

Coefficients in tf format are separated by spaces and are in ascending order.

Coefficients in zp format are separated by spaces and order of coefficients doesn't matter. Coefficients in zp format are complex numbers with i imaginary unit.

Different coefficients and gains can be provided for every channel, in such case use '|' to separate coefficients or gains. Last provided coefficients will be used for all remaining channels.