public class YamahaFS1RBankDriver extends AbstractBankDriver
singleSize, singleSysexIDbankNumbers, checksumEnd, checksumOffset, checksumStart, deviceIDoffset, numSysexMsgs, patchNameSize, patchNameStart, patchNumbers, patchSize, sysexID, sysexRequestDump, trimSize| Constructor and Description |
|---|
YamahaFS1RBankDriver()
Constructor for the YamahaFS1RBankDriver object
|
| Modifier and Type | Method and Description |
|---|---|
void |
calculateChecksum(Patch p)
Calculate check sum of a
Patch. |
boolean |
canHoldPatch(Patch p)
FS1R bank holds 2 types of patch, performance and voice.
|
BankPatch |
createNewPatch()
Bank factory
|
JSLFrame |
editPatch(Patch p)
Creates an editor window to edit this bank
|
Patch |
getPatch(Patch bank,
int patchNum)
Gets a patch from the bank, converting it as needed
|
String |
getPatchName(Patch ip)
Get name of the bank.
|
String |
getPatchName(Patch ip,
int patchNum)
Gets the patchName of a patch in the bank
|
int |
getPatchStart(int patchNum)
Gets the patchStart attribute of the YamahaFS1RBankDriver object
|
void |
putPatch(Patch bank,
Patch p,
int patchNum)
Puts a patch into the bank, converting it as needed
|
void |
setPatchName(Patch ip,
int patchNum,
String name)
Sets the patchName attribute of the YamahaFS1RBankDriver object
|
void |
setPatchName(Patch p,
String name)
Set name of the bank.
|
void |
storePatch(Patch p,
int bankNum,
int patchNum)
Store the bank to a given bank on the synth.
|
deletePatch, getNumColumns, getNumPatches, getSingleSize, getSingleSysexID, hasEditor, isBankDriver, isConverter, isSingleDriver, setSingleSize, setSingleSysexIDcalculateChecksum, 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, 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, requestPatchDump, send, sendPatch, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDevice, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, toString, trimSysexpublic YamahaFS1RBankDriver()
public void setPatchName(Patch p, String name)
AbstractBankDriversetPatchName in interface IDriversetPatchName in class AbstractBankDriverPatch.setName(String)public String getPatchName(Patch ip)
AbstractBankDrivergetPatchName in interface IDrivergetPatchName in class AbstractBankDriverPatch.getName()public int getPatchStart(int patchNum)
patchNum - Description of the Parameterpublic Patch getPatch(Patch bank, int patchNum)
Patch#get(int)public void putPatch(Patch bank, Patch p, int patchNum)
Patch#put(IPatch, int)public String getPatchName(Patch ip, int patchNum)
ip - bank sysexpatchNum - number of the patch in the bankPatch#getName(int)public void setPatchName(Patch ip, int patchNum, String name)
ip - The getPatchFactory().createNewPatchName valuepatchNum - The getPatchFactory().createNewPatchName valuename - The getPatchFactory().createNewPatchName valuePatch#setName(int, String)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 storePatch(Patch p, int bankNum, int patchNum)
AbstractBankDriverstorePatch in interface IDriverstorePatch in class AbstractBankDriverPatch.send(int, int)public JSLFrame editPatch(Patch p)
editPatch in interface IDrivereditPatch in class AbstractBankDriverPatch.edit()public BankPatch createNewPatch()
createNewPatch in class AbstractBankDriverIDriver.createPatch(),
AbstractDriver.createPatch()public boolean canHoldPatch(Patch p)
canHoldPatch in interface IBankDrivercanHoldPatch in class AbstractBankDriverPatch#put(Patch, int),
AbstractDriver.supportsPatch(java.lang.String, byte[])Copyright © 2014. All Rights Reserved.