audiokitpro.com
Beware the uninitialized variable
The new AKSampler class in AudioKit 4.2 makes use of several lower-level C++ classes, one of which is a simple low-pass filter with resonance. This filter includes some four “state” variables called x1, x2, y1, and y2, to keep track of the last two input (x) samples and also the last two output