 
 const byte stopPin = 8;
 const byte playPin = 9;
-Bounce stopButton = Bounce();
-Bounce playButton = Bounce();
+Button stopButton = Button();
+Button playButton = Button();
 boolean stopState;
 boolean stopDown;
 boolean playState;


  updateButtons();

  updateState();

  updateLeds();


}

void updateState() {
  boolean update = false;
  if (bankDownState != bankDownLastState) {
    bankDownLastState = bankDownState;
    bank--;
    update = true;
  } else if (bankUpState != bankUpLastState) {
    bankUpLastState = bankUpState;
    bank++;
    update = true;
  }


void setupButtons() {
  for (byte i = 0; i < numberOfChannelButtons; i++) {
    //initButton(channelButtonStart + i, &channelButtons[i], &channelButtonStates[i], &channelButtonDown[i]);
    channelButtons[i].init(channelButtonStart + i);
  }
  bankDownButton.init(bankDownPin);
  bankUpButton.init(bankUpPin);
  stopButton.init(stopPin);
  playButton.init(playPin);
}

void initButton(byte pin, Bounce *button, boolean *state, boolean *down) {
