bank.sysex[getPatchStart(patchNum)+i]=(byte)(p.sysex[16+i]);
((Patch)bank).sysex[getPatchStart(patchNum)+i]=(byte)(((Patch)p).sysex[16+i]);
	public void putPatch(Patch bank,Patch p,int patchNum)	//puts a patch into the bank, converting it as needed	{		if (!canHoldPatch(p)) {			DX7FamilyStrings.dxShowError(toString(), "This type of patch does not fit in to this type of bank.");			return;		}		for (int i=0; i<51; i++) {			bank.sysex[getPatchStart(patchNum)+i]=(byte)(p.sysex[16+i]);		}		calculateChecksum(bank);	}