public class VAmp2BankDriver extends AbstractBankDriver
singleSize, singleSysexIDbankNumbers, checksumEnd, checksumOffset, checksumStart, deviceIDoffset, log, numSysexMsgs, patchNameSize, patchNameStart, patchNumbers, patchSize, sysexID, sysexRequestDump, trimSize| Constructor and Description |
|---|
VAmp2BankDriver()
Constructs a VAmp2BankDriver
|
| Modifier and Type | Method and Description |
|---|---|
protected BankPatch |
createNewPatch()
Creates a new bank patch.
|
Patch |
getPatch(Patch bank,
int patchNum)
Returns a single program patch from a bank.
|
String |
getPatchName(Patch p,
int patchNum)
Gets the name of a patch within the bank.
|
int |
getPatchStart(int patchNum)
Returns the index of the selected patch
|
void |
putPatch(Patch bank,
Patch p,
int patchNum)
Puts a single program patch into a bank.
|
void |
requestPatchDump(int bankNum,
int patchNum)
Requests a dump of a V-Amp 2 bank consisting of 125 patches.
|
void |
setPatchName(Patch p,
int patchNum,
String name)
Sets the name of a patch within the bank.
|
void |
storePatch(Patch p,
int bankNum,
int patchNum)
Extracts all 125 preset patches from a bank patch and sends all to the
device.
|
canHoldPatch, deletePatch, editPatch, getNumColumns, getNumPatches, getPatchName, getSingleSize, getSingleSysexID, hasEditor, isBankDriver, isConverter, isSingleDriver, setPatchName, setSingleSize, setSingleSysexIDcalculateChecksum, 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, 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, calculateChecksum, canCreatePatch, createPatch, createPatch, createPatches, getAuthors, getBankNumbers, getChannel, getChecksumEnd, getChecksumOffset, getChecksumStart, getDevice, getDeviceID, getDeviceIDoffset, getPatchNameSize, getPatchNameStart, getPatchNumbers, getPatchSize, getPatchType, getSysexID, getSysexRequestDump, getTrimSize, playPatch, send, sendPatch, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDevice, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, toString, trimSysexpublic int getPatchStart(int patchNum)
patchNum - Patch numberpublic void putPatch(Patch bank, Patch p, int patchNum)
bank - The target bank where the patch will be placed.p - The patch to be placed into the target bank.patchNum - The location within the bank where the patch will be placed.Patch#put(IPatch, int)public Patch getPatch(Patch bank, int patchNum)
bank - The bank from which the patch will be retrieved.patchNum - The location of the requested patch within the bank.Patch#get(int)public String getPatchName(Patch p, int patchNum)
p - The target bank patch containing the single patch whose name
is to be retrieved.patchNum - The location within the bank of the single patch whose name is
to be retrieved.Patch#getName(int)public void setPatchName(Patch p, int patchNum, String name)
p - The target bank patch containing the single patch whose name
is to be changed.patchNum - The location within the bank of the single patch whose name is
to be changed.name - A String containing the getPatchFactory().createNewPatch name.Patch#setName(int, String)protected BankPatch createNewPatch()
createNewPatch in class AbstractBankDriverIDriver.createPatch(),
AbstractDriver.createPatch()public void requestPatchDump(int bankNum,
int patchNum)
requestPatchDump in interface IDriverrequestPatchDump in class AbstractDriverbankNum - Parameter provided to match the method in the superclass.
Values pased in this parameter are ignored.patchNum - Parameter provided to match the method in the superclass.
Values pased in this parameter are ignored.IDriver.requestPatchDump(int, int),
SysexHandlerpublic void storePatch(Patch p, int bankNum, int patchNum)
storePatch in interface IDriverstorePatch in class AbstractBankDriverp - The patch to be stored.bankNum - Parameter provided to match the method in the superclass.
Values pased in this parameter are ignored.patchNum - Parameter provided to match the method in the superclass.
Values pased in this parameter are ignored.Patch.send(int, int)Copyright © 2014. All Rights Reserved.