Adaptive Filter (Base)

class pyroomacoustics.adaptive.adaptive_filter.AdaptiveFilter(length)

Bases: object

The dummy base class of an adaptive filter. This class doesn’t compute anything. It merely stores values in a buffer. It is used as a template for all other algorithms.

name()
reset()

Reset the state of the adaptive filter

update(x_n, d_n)

Updates the adaptive filter with a new sample

Parameters:
  • x_n (float) – the new input sample

  • d_n (float) – the new noisy reference signal