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

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

#include <math.h>
#include "moving_average.h"

// #define DEBUG

#define     FORCE_SENSOR_PIN 0
#define     POTENTIOMETER_PIN 5
#define 	MIDI_PITCHBEND_MIN   -8192.0
#define 	MIDI_PITCHBEND_MAX   8191.0

