if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getDX7sPBPflag()==1 ) {  DX7ParamChanges.mkSysInfoAvail(port, (byte)(channel+0x10)); }
if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getDX7sPBPflag()==1 ) {  DX7ParamChanges.mkSysInfoAvail(getPort(), (byte)(getChannel()+0x10)); }
  public void sendPatch (Patch p)  {    if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getSwOffMemProtFlag()==1 )    {      // switch off memory protection of internal voices      DX7ParamChanges.swOffMemProt(port, (byte)(channel+0x10), (byte)(0x21), (byte)(0x25));    }    if ( ((YamahaDX7Device)(PatchEdit.appConfig.getDevice(getDeviceNum()))).getDX7sPBPflag()==1 )    {      // make Sys Info available      DX7ParamChanges.mkSysInfoAvail(port, (byte)(channel+0x10));    }    sendPatchWorker (p);  }