try { PatchEdit.MidiIn.clearMidiInBuffer(getInPort()); } catch (Exception ex) { ErrorMsg.reportError("Error", "Error Clearing Midi In buffer.",ex); }
	public void requestPatchDump(int bankNum, int patchNum)	{		if ( ( ((DX7FamilyDevice)(getDevice())).getSPBPflag() & 0x01 ) == 1 ) {			// make Sys Info available			YamahaDX7SysexHelper.mkSysInfoAvail(getPort(), (byte)(getChannel()+0x10));			// let the DX7 transmit the bank dump			YamahaDX7SysexHelper.xmitBankDump(getPort(), (byte)(getChannel()+0x10));		} else {			if ( ( ((DX7FamilyDevice)(getDevice())).getTipsMsgFlag() & 0x01 ) == 1 )				// show Information				YamahaDX7Strings.dxShowInformation(toString(), YamahaDX7Strings.REQUEST_VOICE_STRING);			try {				PatchEdit.MidiIn.clearMidiInBuffer(getInPort());			} catch (Exception ex) {				ErrorMsg.reportError("Error", "Error Clearing Midi In buffer.",ex);			}		}	}