   pinMode(A1, OUTPUT);
   pinMode(A2, OUTPUT);
   pinMode(A3, OUTPUT);
-  pinMode(A4, OUTPUT);
   
   pinMode(B1, OUTPUT);
   pinMode(B2, OUTPUT);

#define C3 3

// make note to pin array
byte note2pin[38];
byte vel, pitch;

MIDI_CREATE_DEFAULT_INSTANCE();

        case midi::NoteOn:
          pitch = MIDI.getData1();
          vel = MIDI.getData2();
          if(pitch == 3 || pitch == 13 || pitch == 14){
            digitalWrite(note2pin[pitch], LOW);
          }
          else{
            analogWrite(note2pin[pitch], vel << 1);
          }
        break;

        case midi::NoteOff:
          pitch = MIDI.getData1();
          if(pitch == 3 || pitch == 13 || pitch == 14){
            digitalWrite(note2pin[pitch], HIGH);
          }
          else{
            analogWrite(note2pin[pitch], LOW);
          }
        break;
      }
  }
