WaldorfMW2SingleDriver.calculateChecksum(   p,
WaldorfMW2SingleDriver.calculateChecksum(   p.sysex,
    protected Patch createNewPatch() {        byte[] bankSysex = new byte[this.patchSize];        Patch p;        byte[] patchSysex  = new byte[MW2Constants.PATCH_SIZE];             Patch tempPatch;        int offset = 0;                for(int patchNo = 0; patchNo < patchNumbers.length; patchNo++) {                        tempPatch = new Patch(patchSysex, getDevice());            WaldorfMW2SingleDriver.createPatchHeader(tempPatch, 0, patchNo);                        tempPatch.sysex[264] = MW2Constants.SYSEX_END_BYTE;            System.arraycopy(   patchSysex,                    0,                    bankSysex,                    getPatchStart(patchNo) - MW2Constants.SYSEX_HEADER_OFFSET,                    MW2Constants.PATCH_SIZE );            setPatchName(bankSysex, patchNo, "New sound " + patchNo);        }                p = new Patch(bankSysex);                    for(int patchNo = 0; patchNo < patchNumbers.length; patchNo++) {                        WaldorfMW2SingleDriver.calculateChecksum(   p,                     offset + this.checksumStart,                    offset + this.checksumEnd,                    offset + this.checksumOffset);            offset += this.singleSize;        }                                                       return p;    }        