IPatchDriver d = p.getDriver(); if (d instanceof ISingleDriver) { ((ISingleDriver)d).sendPatch(p); ((ISingleDriver)d).playPatch(p);
if (p.getDriver() instanceof ISingleDriver) { p.send(); p.play();
    public void playSelectedPatch() {        if (!checkSelected()) return;        IPatch p = getSelectedPatch();        if (p == null) {	    ErrorMsg.reportError("Error", "That patch is blank.");	    return;	}        IPatchDriver d = p.getDriver();        if (d instanceof ISingleDriver) {            ((ISingleDriver)d).sendPatch(p);	   ((ISingleDriver)d).playPatch(p);        }    }