public IPatch getPatch(IPatch bank, int patchNum)
public Patch getPatch(Patch bank, int patchNum)
  public IPatch getPatch(IPatch bank, int patchNum)  {    try {      byte [] sysex=new byte[187];      sysex[00]=(byte)0xF0;sysex[01]=(byte)0x42;sysex[02]=(byte)0x30;      sysex[03]=(byte)0x35;sysex[186]=(byte)0xF7;            System.arraycopy(((Patch)bank).sysex,getPatchStart(patchNum),sysex,KorgX3SingleDriver.EXTRA_HEADER,164);      IPatch p = new Patch(sysex);      return p;    }catch (Exception e) {ErrorMsg.reportError("Error","Error in Korg X3 Bank Driver",e);return null;}  }