First, decide if you want to control the cutoff by a knob or by an lfo or by a combination of both.
Second, decide if the knob will be a pot or a rotary encoder.
Write code to read the knob, if...