public class MidiEditSender extends SysexSender
channel
Constructor and Description |
---|
MidiEditSender(int mode,
int function,
int sound,
int page,
int channel,
int pot)
Create a new MidiEditSender for a specific parameter.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
generate(int value)
Return the sysex required to set this Midi parameter to the given value.
|
send
public MidiEditSender(int mode, int function, int sound, int page, int channel, int pot)
mode
- 0=Global, 1=Mix, 2=Program, 3=Effectsfunction
- 0-16, depending on modesound
- Sound 1-4 (0-3) if mode=2, effect bus 1-4 (0-3) if mode=3page
- 0-23, depending on mode and functionchannel
- 1-16 (0-15). Ignored unless mode = 1 or 2pot
- Data entry pot number 1-4 (0-3)public byte[] generate(int value)
generate
in class SysexSender
value
- the value, in 8-bit 2's complementbyte[]
valueCopyright © 2014. All Rights Reserved.