public class Line6Pod20SingleDriver extends AbstractPatchDriver
bankNumbers, checksumEnd, checksumOffset, checksumStart, deviceIDoffset, numSysexMsgs, patchNameSize, patchNameStart, patchNumbers, patchSize, sysexID, sysexRequestDump, trimSize
Constructor and Description |
---|
Line6Pod20SingleDriver()
Constructs a Line6Pod20SingleDriver.
|
Line6Pod20SingleDriver(String patchType,
String authors)
Constructs a Line6Pod20SingleDriver.
|
Modifier and Type | Method and Description |
---|---|
void |
calculateChecksum(byte[] sysex,
int start,
int end,
int ofs)
Null method.
|
void |
calculateChecksum(Patch p)
Null method.
|
protected Patch |
createNewPatch()
Creates a new program patch with default values.
|
JSLFrame |
editPatch(Patch p)
Opens an edit window on the specified patch.
|
String |
getPatchName(Patch p)
Gets the name of the program patch.
|
void |
playPatch(Patch p)
Presents a dialog instructing the user to play his instrument.
|
void |
requestPatchDump(int bankNum,
int patchNum)
Requests a dump of a single program patch.
|
void |
sendPatch(Patch p)
Converts a single program patch to an edit buffer patch and sends it to
the edit buffer.
|
void |
setPatchName(Patch p,
String name)
Sets the name of the program patch.
|
void |
storePatch(Patch p,
int bankNum,
int patchNum)
Sends a a single program patch to a set patch location in the device.
|
getFullPatchName, getPatchNumbersForStore, hasEditor, isBankDriver, isConverter, isSingleDriver
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, send, send, send, send, sendPatchWorker, setBankNum, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDevice, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNum, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, toString, trimSysex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canCreatePatch, createPatch, createPatch, createPatches, getAuthors, getBankNumbers, getChannel, getChecksumEnd, getChecksumOffset, getChecksumStart, getDevice, getDeviceID, getDeviceIDoffset, getPatchNameSize, getPatchNameStart, getPatchNumbers, getPatchSize, getPatchType, getSysexID, getSysexRequestDump, getTrimSize, send, setBankNumbers, setChecksumEnd, setChecksumOffset, setChecksumStart, setDevice, setDeviceIDoffset, setPatchNameSize, setPatchNameStart, setPatchNumbers, setPatchSize, setSysexID, setSysexRequestDump, setTrimSize, supportsPatch, toString, trimSysex
public Line6Pod20SingleDriver()
public void calculateChecksum(Patch p)
calculateChecksum
in interface IDriver
calculateChecksum
in class AbstractDriver
p
- a Patch
valuepublic void calculateChecksum(byte[] sysex, int start, int end, int ofs)
calculateChecksum
in interface IDriver
calculateChecksum
in class AbstractDriver
sysex
- a byte arraystart
- start offsetend
- end offsetofs
- offset of the checksum dataAbstractDriver.calculateChecksum(Patch)
public String getPatchName(Patch p)
getPatchName
in interface IDriver
getPatchName
in class AbstractPatchDriver
Patch.getName()
public void setPatchName(Patch p, String name)
setPatchName
in interface IDriver
setPatchName
in class AbstractPatchDriver
Patch.setName(String)
public void sendPatch(Patch p)
sendPatch
in interface IDriver
sendPatch
in class AbstractDriver
Patch.send()
,
ISinglePatch#send()
public void storePatch(Patch p, int bankNum, int patchNum)
storePatch
in interface IDriver
storePatch
in class AbstractPatchDriver
Patch.send(int, int)
public void playPatch(Patch p)
playPatch
in interface IDriver
playPatch
in class AbstractDriver
Patch.play()
,
ISinglePatch#play()
protected Patch createNewPatch()
createNewPatch
in class AbstractDriver
IDriver.createPatch()
,
AbstractDriver.createPatch()
public void requestPatchDump(int bankNum, int patchNum)
requestPatchDump
in interface IDriver
requestPatchDump
in class AbstractDriver
IDriver.requestPatchDump(int, int)
,
SysexHandler
public JSLFrame editPatch(Patch p)
editPatch
in interface IDriver
editPatch
in class AbstractPatchDriver
Patch.edit()
Copyright © 2014. All Rights Reserved.