public class SPD11PadDecaySender extends SysexSender
channel
Constructor and Description |
---|
SPD11PadDecaySender(int patch,
int pad,
int offset)
Uses SysexSender(String) constructor
|
Modifier and Type | Method and Description |
---|---|
byte[] |
generate(int value)
Return a Sysex data for
value . |
send
public SPD11PadDecaySender(int patch, int pad, int offset)
pad
- the pad this sender instance works for. Used for
calculateChecksum
patch
- same as param padoffset
- the location of the value on the SPD11's memory, aka
"parameter address".public byte[] generate(int value)
SysexSender
value
. Subclass which uses
SysexSender()
constructor instead of
SysexSender(String)
has to override this method.generate
in class SysexSender
value
- an int
valuebyte[]
valueCopyright © 2014. All Rights Reserved.