A digital implementation of the Moog VCF (filter).1 2
the input signal.
the cutoff frequency.
the filter resonance gain, between zero and 4.
when greater than zero, this will reset the state of the digital filters at the beginning of a computational block.