Arbitrary rate interpolator.

Namespace: dsp::filter

Prototype

sptr<FilterGen<T>> filter_itrp(float ratio, sptr<Interpolator<T>> itrp=itrp_cspline<T>())

Parameters

ratioDecimation or interpolation ratio (ratio between the output and input sample frequencies).
itrpPointer to a generic interpolator structure.

Description

See also

itrp_cpline(), itrp_linear(), itrp_lagrange(), itrp_sinc()