protected void sendSysex(SysexSender s, int v) { if (s != null) {  try { s.channel = (byte) device.getChannel(); PatchEdit.MidiOut.writeLongMessage(device.getPort(), s.generate(v)); } catch (Exception e) { ErrorMsg.reportStatus(e); } }
protected void sendSysex(int v) { _setValue(v);  if (paramModel != null) paramModel.set(valueCurr); sendSysex(sysexSender, valueCurr);
    protected void sendSysex(SysexSender s, int v) {        if (s != null) {	    // do it only if there is a sysex-sender available            try {		s.channel = (byte) device.getChannel();                PatchEdit.MidiOut.writeLongMessage(device.getPort(),						   s.generate(v));            } catch (Exception e) {		ErrorMsg.reportStatus(e);	    }        }    }