IPatch p = new Patch (sysex, getDevice());
Patch p = new Patch (sysex, getDevice());
    public IPatch getPatch (IPatch bank, int patchNum)    {        try        {            byte [] sysex=new byte[605];            sysex[00]=(byte)0xF0;sysex[01]=(byte)0x43;sysex[02]=(byte)0x00;            sysex[03]=(byte)0x7E;sysex[04]=(byte)0x04;sysex[05]=(byte)0x55;            sysex[06]=(byte)0x4C;sysex[07]=(byte)0x4D;sysex[8]=(byte)0x20;            sysex[9]=(byte)0x20;sysex[10]=(byte)0x30;sysex[11]=(byte)0x30;            sysex[12]=(byte)0x31;sysex[13]=(byte)0x32;sysex[14]=(byte)0x56;            sysex[15]=(byte)0x45;  sysex[604]=(byte)0xF7;            System.arraycopy (((Patch)bank).sysex,getPatchStart (patchNum),sysex,16,587);            IPatch p = new Patch (sysex, getDevice());            p.getDriver().calculateChecksum (p);            return p;        }catch (Exception e)        {ErrorMsg.reportError ("Error","Error in TG33 Bank Driver",e);return null;}    }