 // NOTE: dacb has edited the Adafruit library to include a call to 
 // Wire.setClock after Wire.begin to increase the i2c clock to 1.7M
 // which is an allowed rate in the MCP23017 datasheet
+
+#undef MIDI
+#define MIDI
+#ifdef MIDI
+const int channel = 1;
+#endif
 
 #undef DEBUG
 #define DEBUG

				Serial1.print("value change (+1): ");
				Serial1.println(encoders[i].value, DEC);
#endif
			}
		}
		// decrease?


#define STRINGS 8
string_t strings[STRINGS] = {
	{ 2, 60, 0, IDLE },	// C4
	{ 3, 62, 0, IDLE },	// D4
	{ 4, 64, 0, IDLE },	// E4
	{ 5, 65, 0, IDLE },	// F4
	{ 6, 67, 0, IDLE },	// G4
	{ 7, 69, 0, IDLE },	// A4
	{ 8, 71, 0, IDLE }, // B4
	{ 9, 72, 0, IDLE },	// C5
};

#define STRING_LEVEL_EVENT_PERCENT_CHANGE 30
