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