public Patch getPatch(Patch bank, int patchNum)
public IPatch getPatch(IPatch bank, int patchNum)
	public Patch getPatch(Patch bank, int patchNum)		//Gets a patch from the bank, converting it as needed	{		try {			byte [] sysex=new byte[singleSize];			// transform bulk-dump-packed-format to voice data			sysex[	0]=(byte)0xf0;			sysex[	1]=(byte)0x43;			sysex[	2]=(byte)0x00;			sysex[	3]=(byte)0x7e;			sysex[	4]=(byte)0x00;			sysex[	5]=(byte)0x3d;			sysex[	6]=(byte)0x4c;	// "L"			sysex[	7]=(byte)0x4d;	// "M"			sysex[	8]=(byte)0x20;	// " "			sysex[	9]=(byte)0x20;	// " "			sysex[ 10]=(byte)0x38;	// "8"			sysex[ 11]=(byte)0x39;	// "9"			sysex[ 12]=(byte)0x37;	// "7"			sysex[ 13]=(byte)0x33;	// "3"			sysex[ 14]=(byte)0x50;	// "P"			sysex[ 15]=(byte)0x45;	// "E"			sysex[singleSize-1]=(byte)0xf7;			for (int i=0; i<51; i++) {				sysex[16+i]=(byte)(bank.sysex[getPatchStart(patchNum)+i]);			}			Patch p = new Patch(sysex, getDevice());	// single sysex			p.getDriver().calculateChecksum(p);						return p;		} catch (Exception e) {			ErrorMsg.reportError(getManufacturerName()+" "+getModelName(),"Error in "+toString(),e);return null;		}	}