((Device)PatchEdit.deviceList.get (patch.deviceNum)).getPort (),sysexString.generate (valueCurr));
((Device)PatchEdit.appConfig.getDevice (patch.deviceNum)).getPort (),sysexString.generate (valueCurr));
    public void sendSysex ()    {        paramModel.set (valueCurr);        if (sysexString!=null) // do it only, if there is a sysex-sender available        {            try            {                //paramModel.set (valueCurr);                PatchEdit.MidiOut.writeLongMessage (                ((Device)PatchEdit.deviceList.get (patch.deviceNum)).getPort (),sysexString.generate (valueCurr));            }catch (Exception e)            {ErrorMsg.reportStatus (e);}        }    }