public Patch getPatch(Patch bank, int patchNum) {
public IPatch getPatch(IPatch bank, int patchNum) {
    public Patch getPatch(Patch bank, int patchNum) {        try{            byte [] sysex=new byte[362+9];            sysex[00]=(byte)0xF0;sysex[01]=(byte)0x42;            sysex[2]=(byte)(0x30+getChannel()-1);            sysex[03]=(byte)0x28;sysex[04]=(byte)0x40;sysex[05]=(byte)0x00/*bankNum*/;            sysex[06]=(byte)patchNum;                        /*sysex[852+7]=checksum;*/            sysex[362+8]=(byte)0xF7;            System.arraycopy(bank.sysex,getPatchStart(patchNum),sysex,7,362);            Patch p = new Patch(sysex, getDevice());            p.getDriver().calculateChecksum(p);            return p;        }catch (Exception e) {ErrorMsg.reportError("Error","Error in Wavestation Bank Driver",e);return null;}    }