 /* Code for laser guzheng
  * Copyright (C) 2016 Jason Lu
  * 
- */
- 
- 
+ */ 
+
 // Some defines
-#define THRESHOLD 700
+#define THRESHOLD 500
 #define VOLUME 0x7F
 #define LASTPORT 4
 #define DELAY 10

int note3 = 0x40;
int note2 = 0x3E;
int note1 = 0x3C;

void setup()
{

    if(analogRead(i) > THRESHOLD) {
      // Beam has been cut
      // i+1 is because i is 0 indexed, but the ID starts with 1
      if (i < 4) {
        musicOn(i + 1);
      } else {
        if (noteSet == 1) {
          noteSet = 2;
        } else {
          noteSet = 1;
        }
      }
    } else {
      // Hand is gone. Stop the sound
      musicOff(i + 1);
