public class OberheimMatrixBankDriver extends AbstractBankDriver
singleSize, singleSysexIDbankNumbers, checksumEnd, checksumOffset, checksumStart, deviceIDoffset, log, numSysexMsgs, patchNameSize, patchNameStart, patchNumbers, patchSize, sysexID, sysexRequestDump, trimSize| Constructor and Description |
|---|
OberheimMatrixBankDriver() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateChecksum(byte[] sysex,
int start,
int end,
int ofs)
Caluculate check sum of a byte array
sysex. |
void |
calculateChecksum(Patch p)
Calculate check sum of a
Patch. |
BankPatch |
createNewPatch()
Create a new Patch.
|
Patch |
getPatch(Patch bank,
int patchNum)
Gets a patch from the bank, converting it as needed.
|
String |
getPatchName(Patch p,
int patchNum)
Get the name of the patch at the given number
patchNum. |
int |
getPatchStart(int PatchNum) |
void |
putPatch(Patch bank,
Patch p,
int patchNum)
Puts a patch into the bank, converting it as needed.
|
void |
setBankNum(int bankNum)
Send Control Change (Bank Select) MIDI message.
|
void |
setPatchName(Patch p,
int patchNum,
String name)
Set the name of the patch at the given number
patchNum. |
void |
storePatch(Patch p,
int bankNum,
int patchNum)
Store the bank to a given bank on the synth.
|
canHoldPatch, deletePatch, editPatch, getNumColumns, getNumPatches, getPatchName, getSingleSize, getSingleSysexID, hasEditor, isBankDriver, isConverter, isSingleDriver, setPatchName, setSingleSize, setSingleSysexIDcalculateChecksum, 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, requestPatchDump, send, send, send, send, sendPatch, sendPatchWorker, 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, waitcanCreatePatch, createPatch, createPatch, createPatches, getAuthors, getBankNumbers, getChannel, getChecksumEnd, getChecksumOffset, getChecksumStart, getDevice, getDeviceID, getDeviceIDoffset, getPatchNameSize, getPatchNameStart, getPatchNumbers, getPatchSize, getPatchType, getSysexID, getSysexRequestDump, getTrimSize, playPatch, requestPatchDump, send, sendPatch, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDevice, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, toString, trimSysexpublic int getPatchStart(int PatchNum)
public void calculateChecksum(Patch p)
AbstractDriverPatch.
Need to be overridden if a patch is consist from multiple SysEX messages.
calculateChecksum in interface IDrivercalculateChecksum in class AbstractDriverp - a Patch valuepublic void calculateChecksum(byte[] sysex,
int start,
int end,
int ofs)
IDriversysex.
The checksum calculation method of this method is used by Roland, YAMAHA, etc.
Compatibility Note: This method became 'static' method.
calculateChecksum in interface IDrivercalculateChecksum in class AbstractDriversysex - a byte arraystart - start offsetend - end offsetofs - offset of the checksum dataAbstractDriver.calculateChecksum(Patch)public void setBankNum(int bankNum)
AbstractDriversetBankNum in class AbstractDriverIDriver.storePatch(Patch, int, int)public void storePatch(Patch p, int bankNum, int patchNum)
AbstractBankDriverstorePatch in interface IDriverstorePatch in class AbstractBankDriverPatch.send(int, int)public String getPatchName(Patch p, int patchNum)
IBankDriverpatchNum.Patch#getName(int)public void setPatchName(Patch p, int patchNum, String name)
IBankDriverpatchNum.Patch#setName(int, String)public void putPatch(Patch bank, Patch p, int patchNum)
IBankDriversingle
is already checked by canHoldPatch, although it was not.Patch#put(IPatch, int)public Patch getPatch(Patch bank, int patchNum)
IBankDriverPatch#get(int)public BankPatch createNewPatch()
AbstractBankDrivercreateNewPatch in class AbstractBankDriverIDriver.createPatch(),
AbstractDriver.createPatch()Copyright © 2014. All Rights Reserved.