         last_midi_note = -1;
         last_midi_velocity = 0;
     }
+
     #ifdef DEBUG
     Serial.print("Playing note #");
     Serial.print((int) last_midi_note);

    velocity = velocity > 4 ? velocity : 0; // Force sensor uncertainty

    potentiometer_reading = analogRead(POTENTIOMETER_PIN);

    note = potentiometer_reading * RANGE / 1023;
    pitch = 127 / 2 * (potentiometer_reading * (RANGE / 1023.0) - note) + 127 / 2;

char last_midi_velocity = 0;
int velocity;
int potentiometer_reading;
MovingAverage potentiometer_reading_average;
char note;
int pitch;
char octave = 4;
