lots of different way to do it, with your code, something like this would be the most basic:
float lastF = -1.0f;
void loop() {
int knob = analogRead(A5);
int knob1 = analogRead(A0);
int knob2 = analogRead(A1);
float F = (float(knob) * 18.0f) + 20.0f;
float lowGain = float(knob1) /...