public void playPatch(Patch p) {
public void playPatch(IPatch p) {
    public void playPatch(Patch p) { // called by core and some Editors        try {// 	    sendPatch(p);	    Thread.sleep(100);	    ShortMessage msg = new ShortMessage();	    msg.setMessage(ShortMessage.NOTE_ON, getChannel() - 1,			   PatchEdit.appConfig.getNote(),			   PatchEdit.appConfig.getVelocity());	    send(msg);	    Thread.sleep(PatchEdit.appConfig.getDelay());	    msg.setMessage(ShortMessage.NOTE_ON, getChannel() - 1,			   PatchEdit.appConfig.getNote(),			   0);	// expecting running status	    send(msg);	} catch (Exception e) {	    ErrorMsg.reportStatus(e);	}    }