public abstract class YamahaMotifSingleDriver extends AbstractPatchDriver
bankNumbers, checksumEnd, checksumOffset, checksumStart, deviceIDoffset, log, numSysexMsgs, patchNameSize, patchNameStart, patchNumbers, patchSize, sysexID, sysexRequestDump, trimSize| Constructor and Description |
|---|
YamahaMotifSingleDriver() |
YamahaMotifSingleDriver(String patchType,
String authors) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateChecksum(Patch p)
Calculate check sum of a
Patch. |
Patch |
createNewPatch()
Create a new Patch.
|
String |
getPatchName(Patch ip)
Gets the name of the patch from the sysex.
|
void |
requestPatchDump(int bankNum,
int patchNum)
Request the synth to send a patch dump.
|
void |
sendPatch(Patch p)
Send to edit buffer
|
protected void |
sendPatchWorker(Patch p,
int patchnum)
Does the actual work to send a patch to the synth
|
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.
|
protected void |
yamaha_init() |
editPatch, getFullPatchName, getPatchNumbersForStore, hasEditor, isBankDriver, isConverter, isSingleDrivercalculateChecksum, 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, 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, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDevice, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, toString, trimSysexprotected void yamaha_init()
public String getPatchName(Patch ip)
AbstractPatchDrivergetPatchName in interface IDrivergetPatchName in class AbstractPatchDriverPatch.getName()public void setPatchName(Patch p, String name)
AbstractPatchDriversetPatchName in interface IDriversetPatchName in class AbstractPatchDriverPatch.setName(String)public 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)
sendPatch in interface IDriversendPatch in class AbstractDriverPatch.send(),
ISinglePatch#send()protected void sendPatchWorker(Patch p, 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 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 Patch createNewPatch()
AbstractDrivercreateNewPatch in class AbstractDriverIDriver.createPatch(),
AbstractDriver.createPatch()Copyright © 2014. All Rights Reserved.