public class SPD11DumpAllDriver extends AbstractBankDriver
singleSize, singleSysexIDbankNumbers, checksumEnd, checksumOffset, checksumStart, deviceIDoffset, numSysexMsgs, patchNameSize, patchNameStart, patchNumbers, patchSize, sysexID, sysexRequestDump, trimSize| Constructor and Description |
|---|
SPD11DumpAllDriver(SPD11SystemDriver systemDriver,
SPD11ChainDriver chainDriver,
SPD11PadDriver padDriver,
SPD11SettingsDriver settingsDriver,
SPD11Patch2Driver patchDriver) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateChecksum(byte[] sysex,
int start,
int end,
int offset)
SPD11BankDriver CheckSum calculation replaces the offset byte
with the result of the formula 128 -(sum % 128) |
Patch |
getPatch(Patch bank,
int patchNum)
Gets a patch from the bank, converting it as needed.
|
String |
getPatchName(Patch bank,
int patchNum)
Get the name of the patch at the given number
patchNum. |
void |
putPatch(Patch bank,
Patch single,
int patchNum)
Puts a patch into the bank, converting it as needed.
|
void |
requestPatchDump(int bankNum,
int patchNum)
Request the synth to send a patch dump.
|
void |
setPatchName(Patch bank,
int patchNum,
String name)
Set the name of the patch at the given number
patchNum. |
canHoldPatch, createNewPatch, deletePatch, editPatch, getNumColumns, getNumPatches, getPatchName, getSingleSize, getSingleSysexID, hasEditor, isBankDriver, isConverter, isSingleDriver, setPatchName, setSingleSize, setSingleSysexID, storePatchcalculateChecksum, calculateChecksum, canCreatePatch, createPatch, createPatch, createPatches, generateNumbers, getAuthors, getBankNumbers, getChannel, getChecksumEnd, getChecksumOffset, getChecksumStart, getDevice, getDeviceID, getDeviceIDoffset, getManufacturerName, getModelName, getPatchFactory, getPatchNameSize, getPatchNameStart, getPatchNumbers, getPatchSize, getPatchType, getSynthName, getSysexID, getSysexRequestDump, getTrimSize, playPatch, send, send, send, send, sendPatch, sendPatchWorker, setBankNum, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDevice, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNum, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, toString, trimSysexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcalculateChecksum, canCreatePatch, createPatch, createPatch, createPatches, getAuthors, getBankNumbers, getChannel, getChecksumEnd, getChecksumOffset, getChecksumStart, getDevice, getDeviceID, getDeviceIDoffset, getPatchNameSize, getPatchNameStart, getPatchNumbers, getPatchSize, getPatchType, getSysexID, getSysexRequestDump, getTrimSize, playPatch, send, sendPatch, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDevice, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, toString, trimSysexpublic SPD11DumpAllDriver(SPD11SystemDriver systemDriver, SPD11ChainDriver chainDriver, SPD11PadDriver padDriver, SPD11SettingsDriver settingsDriver, SPD11Patch2Driver patchDriver)
systemDriver - chainDriver - padDriver - settingsDriver - patchDriver - public void calculateChecksum(byte[] sysex,
int start,
int end,
int offset)
calculateChecksum in interface IDrivercalculateChecksum in class AbstractDriverp - the patch we work withstart - is where the values start adding to the sumend - is where the values stops adding to the sumoffset - is where the checksum value is replacedAbstractDriver.calculateChecksum(Patch)public Patch getPatch(Patch bank, int patchNum)
IBankDriverPatch#get(int)public String getPatchName(Patch bank, int patchNum)
IBankDriverpatchNum.Patch#getName(int)public void putPatch(Patch bank, Patch single, int patchNum)
IBankDriversingle
is already checked by canHoldPatch, although it was not.Patch#put(IPatch, int)public void setPatchName(Patch bank, int patchNum, String name)
IBankDriverpatchNum.Patch#setName(int, String)public void requestPatchDump(int bankNum,
int patchNum)
AbstractDriversysexRequestDump
is not null, a request dump message is sent. Otherwise a
dialog window will prompt users.requestPatchDump in interface IDriverrequestPatchDump in class AbstractDriverIDriver.requestPatchDump(int, int),
SysexHandlerCopyright © 2014. All Rights Reserved.