double filter(double _in) { double out = _in; for (int i = 0; i < _numBiquads; i++) { if (_states[i] != null) { out = _states[i].process1(out, _biquads[i]); } } return out; }