Receiver rcvr = MidiUtil.getReceiver(appConfig.getInitPortOut()); rcvr1 = new MasterReceiver(rcvr); trns.setReceiver(rcvr1);
try { Receiver rcvr = MidiUtil.getReceiver(appConfig.getInitPortOut()); rcvr1 = new MasterReceiver(rcvr); trns.setReceiver(rcvr1); } catch (MidiUnavailableException e) { ErrorMsg.reportStatus(e); }
    static void enableMasterIn() {	disableMasterIn();	// get transmitter	trns = appConfig.getMasterInTrns();	// create output receiver	Receiver rcvr = MidiUtil.getReceiver(appConfig.getInitPortOut());	rcvr1 = new MasterReceiver(rcvr);	trns.setReceiver(rcvr1);    }