       }
 #endif
       // Hand is gone. Stop the sound
-      musicOff(i + 1);
+      musicOff(i);
     }
     // Delay 10 to prevent weird analog readings
     delay(DELAY);

#endif
        // Beam has been cut
        // i+1 is because i is 0 indexed, but the ID starts with 1
        musicOn(i + 1);
#ifndef WIND
        lastNote |= (laserArray[i]);
      }

// Just a slightly modified version of musicOn()
void musicOff(int ID) {
  switch (ID) {
  case 0:
    noteOn(NOTEOFF, note1, 0x7F);
    break;
  case 1:
    noteOn(NOTEOFF, note2, 0x7F);
    break;
  case 2:
    noteOn(NOTEOFF, note3, 0x7F);
    break;
  case 3:
    noteOn(NOTEOFF, note4, 0x7F);
    break;
  case 4:
    noteOn(NOTEOFF, note5, 0x7F);
    break;
  case 5:
    noteOn(NOTEOFF, note6, 0x7F);
    break;
  case 6:
    noteOn(NOTEOFF, note7, 0x7F);
    break;
  case 7:
    noteOn(NOTEOFF, note8, 0x7F);
    break;
  default:
