public class CasioCZ1000SingleDriver extends AbstractPatchDriver
bankNumbers, checksumEnd, checksumOffset, checksumStart, deviceIDoffset, numSysexMsgs, patchNameSize, patchNameStart, patchNumbers, patchSize, sysexID, sysexRequestDump, trimSize| Constructor and Description |
|---|
CasioCZ1000SingleDriver() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateChecksum(byte[] sysex,
int start,
int end,
int ofs)
Caluculate check sum of a byte array
sysex. |
boolean |
canCreatePatch()
Whether createNewPatch works.
|
Patch |
createNewPatch()
Create a new Patch.
|
JSLFrame |
editPatch(Patch p)
Override this if your driver implement Patch Editor.
|
void |
requestPatchDump(int bankNum,
int patchNum)
Request the synth to send a patch dump.
|
void |
sendPatch(Patch p)
Sends a patch to the synth's edit buffer.
|
void |
setBankNum(int bankNum)
Send Control Change (Bank Select) MIDI message.
|
void |
setPatchName(Patch p,
String name)
No support, so ignore quietly.
|
void |
setPatchNum(int patchNum)
Send Program Change MIDI message.
|
void |
storePatch(Patch p,
int bankNum,
int patchNum)
Sends a patch to a set location on a synth.
|
getFullPatchName, getPatchName, getPatchNumbersForStore, hasEditor, isBankDriver, isConverter, isSingleDrivercalculateChecksum, calculateChecksum, 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, sendPatchWorker, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDevice, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, toString, trimSysexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcalculateChecksum, createPatch, createPatch, createPatches, getAuthors, getBankNumbers, getChannel, getChecksumEnd, getChecksumOffset, getChecksumStart, getDevice, getDeviceID, getDeviceIDoffset, getPatchNameSize, getPatchNameStart, getPatchNumbers, getPatchSize, getPatchType, getSysexID, getSysexRequestDump, getTrimSize, playPatch, send, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDevice, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, toString, trimSysexpublic void storePatch(Patch p, int bankNum, int patchNum)
AbstractPatchDriverOverride this if required.
storePatch in interface IDriverstorePatch in class AbstractPatchDriverPatch.send(int, int)public void sendPatch(Patch p)
AbstractDriverOverride 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 IDriversendPatch in class AbstractDriverPatch.send(),
ISinglePatch#send()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),
SysexHandlerpublic 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 boolean canCreatePatch()
canCreatePatch in interface IDrivercanCreatePatch in class AbstractDriverIDriver.createPatch()public Patch createNewPatch()
AbstractDrivercreateNewPatch in class AbstractDriverIDriver.createPatch(),
AbstractDriver.createPatch()public void setBankNum(int bankNum)
AbstractDriversetBankNum in class AbstractDriverIDriver.storePatch(Patch, int, int)public void setPatchNum(int patchNum)
AbstractDriversetPatchNum in class AbstractDriverIDriver.storePatch(Patch, int, int)public JSLFrame editPatch(Patch p)
AbstractPatchDrivereditPatch in interface IDrivereditPatch in class AbstractPatchDriverPatch.edit()public void setPatchName(Patch p, String name)
setPatchName in interface IDriversetPatchName in class AbstractPatchDriverPatch.setName(String)Copyright © 2014. All Rights Reserved.