process1 method

  1. @override
double process1(
  1. double _in,
  2. Biquad s
)

Implementation

@override
double process1(double _in, Biquad s) {
  double out = s.b0 * _in + s.b1 * _x1 + s.b2 * _x2 - s.a1 * _y1 - s.a2 * _y2;
  _x2 = _x1;
  _y2 = _y1;
  _x1 = _in;
  _y1 = out;

  return out;
}