return KawaiK5000CombiDriver.createPatchFromData(bank.sysex, patchIndex(patchNum), KawaiK5000CombiDriver.PATCH_DATA_SIZE);
return KawaiK5000CombiDriver.createPatchFromData(((Patch)bank).sysex, patchIndex(patchNum), KawaiK5000CombiDriver.PATCH_DATA_SIZE);
  public Patch getPatch(Patch bank, int patchNum) {//ErrorMsg.reportStatus("KawaiK5000CombiBankDriver->getPatch: " + patchNum);    try{      return KawaiK5000CombiDriver.createPatchFromData(bank.sysex, patchIndex(patchNum), KawaiK5000CombiDriver.PATCH_DATA_SIZE);    } catch (Exception ex) {      ErrorMsg.reportError("Error", "Error in K5000 Combi Bank Driver", ex);      return null;    }  }