cc @nashira @paulmand3l ``` javascript function LowPassFilter(cutoff) { var accumulator = 0; this.setCutoff = function (value) { cutoff = value; }; this.sample = function(sample) { accumulator += (sample - accumulator) * cutoff; return accumulator; } } ```