public class AlesisQSMixDriver extends AbstractPatchDriver
bankNumbers, checksumEnd, checksumOffset, checksumStart, deviceIDoffset, numSysexMsgs, patchNameSize, patchNameStart, patchNumbers, patchSize, sysexID, sysexRequestDump, trimSize
Constructor and Description |
---|
AlesisQSMixDriver() |
Modifier and Type | Method and Description |
---|---|
void |
calculateChecksum(byte[] sysex,
int start,
int end,
int ofs)
Override the checksum and do nothing - the Alesis does not use checksums
|
Patch |
createNewPatch()
Create a new mix patch
|
String |
getPatchName(Patch ip)
Get patch name from sysex buffer
|
void |
requestPatchDump(int bankNum,
int patchNum)
Copied from Driver.java by zjh.
|
void |
sendPatch(Patch p)
Sends a patch to the synth's mix edit buffer.
|
void |
setPatchName(Patch p,
String name)
Set patch name in sysex buffer
|
void |
storePatch(Patch p,
int bankNum,
int patchNum)
Sends a patch to a set location on a synth.
|
String |
toBinaryStr(byte b)
Print a byte in binary, for debugging packing/unpacking code
|
editPatch, getFullPatchName, getPatchNumbersForStore, hasEditor, isBankDriver, isConverter, isSingleDriver
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, 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
calculateChecksum, 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, trimSysex
public String toBinaryStr(byte b)
public String getPatchName(Patch ip)
getPatchName
in interface IDriver
getPatchName
in class AbstractPatchDriver
ip
- the patch to get the name fromPatch.getName()
public void setPatchName(Patch p, String name)
setPatchName
in interface IDriver
setPatchName
in class AbstractPatchDriver
p
- the patch to set the name inname
- the string to set the name toPatch.setName(String)
public void calculateChecksum(byte[] sysex, int start, int end, int ofs)
calculateChecksum
in interface IDriver
calculateChecksum
in class AbstractDriver
p
- the ignoredstart
- ignoredend
- ignoredofs
- ignoredAbstractDriver.calculateChecksum(Patch)
public 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
bankNum
- not usedpatchNum
- the patch number, 0-100IDriver.requestPatchDump(int, int)
,
SysexHandler
public void sendPatch(Patch p)
sendPatch
in interface IDriver
sendPatch
in class AbstractDriver
p
- the patch to send to the edit bufferPatch.send()
,
ISinglePatch#send()
public void storePatch(Patch p, int bankNum, int patchNum)
storePatch
in interface IDriver
storePatch
in class AbstractPatchDriver
p
- the patch to sendbankNum
- ignored - you can only send to the User bank on Alesis QS
synthspatchNum
- the patch number to send it toPatch.send(int, int)
Copyright © 2014. All Rights Reserved.