new NameValue("perfNumber", patchNo + QuasimidiQuasarSingleDriver.QUASAR_SYSEX_PERFORMANCE_OFFSET)
new NameValue("perfNumber", patchNo + QuasarConstants.QUASAR_SYSEX_PERFORMANCE_OFFSET)
	public void requestPatchDump(int bankNum, int patchNum) {		//setBankNum(bankNum);		//setPatchNum(patchNum);		if (sysexRequestDump == null) {			JOptionPane.showMessageDialog(PatchEdit.instance,				"The " + getDriverName() + " driver does not support patch getting.\n\nPlease start the patch dump manually...",				"Get Patch",				JOptionPane.WARNING_MESSAGE			);			byte buffer[] = new byte[256*1024];			try {				while (PatchEdit.MidiIn.messagesWaiting(inPort) > 0)					PatchEdit.MidiIn.readMessage(inPort, buffer, 1024);			} catch (Exception ex) {				ErrorMsg.reportError("Error", "Error Clearing Midi In buffer.", ex);			}		}		else {			// Request dumps for all 100 RAM peformances (that are 5 * 100 requests!!!)			for(int patchNo = 0; patchNo < patchNumbers.length; patchNo++) {				for(int count = 0; count < QuasimidiQuasarSingleDriver.QUASAR_SYSEX_PERFORMANCE_REQUEST.length; count++) {										this.sysexRequestDump = new SysexHandler( QuasimidiQuasarSingleDriver.QUASAR_SYSEX_PERFORMANCE_REQUEST[count] );					sysexRequestDump.send(						port, (byte)channel,						new NameValue("perfNumber", patchNo + QuasimidiQuasarSingleDriver.QUASAR_SYSEX_PERFORMANCE_OFFSET)					);					try {						// Wait a little bit so that everything is in the correct sequence						Thread.sleep(50);					} catch (Exception ex) {						ErrorMsg.reportError("Error", "Error requesting all Quasar RAM performances.", ex);					}				}			}		}	}