 {
   // Initialize serial at 115200 baud
   Serial.begin(115200);
+  // Set the 74HC4051 command ports
   pinMode(2,OUTPUT);
   pinMode(3,OUTPUT);
   pinMode(4,OUTPUT);
   // Wait 1 second for ttymidi to come up
+  // Could be unnecessary, but better safe than sorry
   delay(1000);
 }
 

/* Code for laser GuZheng
 * Copyright (C) 2016 Jason Lu
 * 
 * Licensed under the MIT License
 */ 

// Port I/O defines
#define THRESHOLD 700
#define LASTPORT 7
#define INSTRUMENTBUTTON 8

// MIDI property defines
#define VOLUME 0x7F

      // Button is no longer pressed, so reset the button state.
      instrumentButtonState = 0;
    }
    // Detect if note button has been pressed
    if(digitalRead(NOTEBUTTON) == HIGH) {
      // Make sure that this is the first time that the button
      // has been pressed
      if (noteButtonState == 0) {
        // Swap the current note set
        // TODO: FIgure out a better way to do this
        if (noteSet == 1) {
          noteSet = 2;
        } else {
