public class EnsoniqESQ1SingleDriver extends XMLPatchDriver
bankNumbers, checksumEnd, checksumOffset, checksumStart, deviceIDoffset, log, numSysexMsgs, patchNameSize, patchNameStart, patchNumbers, patchSize, sysexID, sysexRequestDump, trimSize
Constructor and Description |
---|
EnsoniqESQ1SingleDriver(XmlPatchDriverSpecDocument.XmlPatchDriverSpec driverSpec) |
Modifier and Type | Method and Description |
---|---|
void |
calculateChecksum(byte[] sysex,
int start,
int end,
int ofs)
Caluculate check sum of a byte array
sysex . |
Patch |
createNewPatch()
Create a new Patch.
|
String |
getPatchName(Patch ip)
Gets the name of the patch from the sysex.
|
void |
sendPatch(Patch p)
Sends a patch to the synth's edit buffer.
|
void |
setPatchName(Patch p,
String name)
Set the name of the patch in the sysex.
|
void |
storePatch(Patch p,
int bankNum,
int patchNum)
Sends a patch to a set location on a synth.
|
createNewBankPatch, editPatch, getInitPatch, getPatchNumbersForStore, hasEditor, isConverter, setDevice, setInitPatch, toString
getFullPatchName, isBankDriver, isSingleDriver
calculateChecksum, 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, requestPatchDump, send, send, send, send, sendPatchWorker, setBankNum, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNum, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, trimSysex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calculateChecksum, canCreatePatch, createPatch, createPatch, createPatches, getAuthors, getBankNumbers, getChannel, getChecksumEnd, getChecksumOffset, getChecksumStart, getDevice, getDeviceID, getDeviceIDoffset, getPatchNameSize, getPatchNameStart, getPatchNumbers, getPatchSize, getPatchType, getSysexID, getSysexRequestDump, getTrimSize, isBankDriver, isSingleDriver, playPatch, requestPatchDump, send, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, trimSysex
public EnsoniqESQ1SingleDriver(XmlPatchDriverSpecDocument.XmlPatchDriverSpec driverSpec)
public String getPatchName(Patch ip)
XMLPatchDriver
getPatchName
in interface IDriver
getPatchName
in class XMLPatchDriver
Patch.getName()
public void setPatchName(Patch p, String name)
AbstractPatchDriver
setPatchName
in interface IDriver
setPatchName
in class XMLPatchDriver
Patch.setName(String)
public void storePatch(Patch p, int bankNum, int patchNum)
AbstractPatchDriver
Override this if required.
storePatch
in interface IDriver
storePatch
in class XMLPatchDriver
Patch.send(int, int)
public void sendPatch(Patch p)
AbstractDriver
Override this in the subclass if parameters or warnings need to be sent to the user (aka if the particular synth does not have a edit buffer or it is not MIDI accessable).
sendPatch
in interface IDriver
sendPatch
in class AbstractDriver
Patch.send()
,
ISinglePatch#send()
public void calculateChecksum(byte[] sysex, int start, int end, int ofs)
IDriver
sysex
.
The checksum calculation method of this method is used by Roland, YAMAHA, etc.
Compatibility Note: This method became 'static' method.
calculateChecksum
in interface IDriver
calculateChecksum
in class AbstractDriver
sysex
- a byte arraystart
- start offsetend
- end offsetofs
- offset of the checksum dataAbstractDriver.calculateChecksum(Patch)
public Patch createNewPatch()
AbstractDriver
createNewPatch
in class XMLPatchDriver
IDriver.createPatch()
,
AbstractDriver.createPatch()
Copyright © 2014. All Rights Reserved.