public final class MetroMidiMessageGen
extends java.lang.Object
Constructor and Description |
---|
MetroMidiMessageGen() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
cc_allNoteOff(int ch) |
static byte[] |
cc_allSoundOff(int ch) |
static byte[] |
cc_localControls(int ch,
boolean on) |
static byte[] |
cc_monoModeOn(int ch) |
static byte[] |
cc_omniModeOff(int ch) |
static byte[] |
cc_omniModeOn(int ch) |
static byte[] |
cc_polyModeOn(int ch) |
static byte[] |
cc_resetAllControllers(int ch) |
static byte[] |
channelPressure(int ch,
double pressureValue) |
static byte[] |
channelPressure(int ch,
int pressureValue) |
static byte[] |
clock() |
static byte[] |
cont() |
static byte[] |
controlChange(int ch,
int controlNumber,
int controlValue) |
static int |
d2iPitchBend(double pitchBendValue) |
static int |
d2iPressure(double velo) |
static int |
d2iVelocity(double velo) |
static byte[] |
endOfExclusive() |
static double |
i2dPitchBend(int pitchBendValue) |
static double |
i2dPressure(int velo) |
static double |
i2dVelocity(int velo) |
static byte[] |
keyPressure(int ch,
int note,
double pressure) |
static byte[] |
keyPressure(int ch,
int note,
int pressure) |
static void |
main(java.lang.String[] args) |
static byte[] |
noteOff(int ch,
int note,
double velo) |
static byte[] |
noteOff(int ch,
int note,
int velo) |
static byte[] |
noteOn(int ch,
int note,
double velo) |
static byte[] |
noteOn(int ch,
int note,
int velo) |
static byte[] |
pitchBend(int ch,
double pitchBendValue)
Specifying pitch bend value by a double-float numeric value.
|
static byte[] |
pitchBend(int ch,
int pitchBendValue) |
static byte[] |
programChange(int ch,
int programNumber) |
static <T> T |
receive(MetroMidiReceiver<T> receiver,
byte[] message)
Note that receivers' methods could return null.
|
static byte[] |
reset() |
static byte[] |
songPositionPointer(int pos) |
static byte[] |
songSelect(int songNumber) |
static byte[] |
start() |
static byte[] |
stop() |
static java.lang.String |
toStri(byte[] bytes) |
static java.lang.String |
toString(byte[] b) |
public static byte[] noteOn(int ch, int note, int velo)
public static java.lang.String toString(byte[] b)
public static final int d2iVelocity(double velo)
public static final double i2dVelocity(int velo)
public static byte[] noteOn(int ch, int note, double velo)
public static byte[] noteOff(int ch, int note, int velo)
public static byte[] noteOff(int ch, int note, double velo)
public static final int d2iPressure(double velo)
public static final double i2dPressure(int velo)
public static byte[] keyPressure(int ch, int note, int pressure)
public static byte[] keyPressure(int ch, int note, double pressure)
public static byte[] controlChange(int ch, int controlNumber, int controlValue)
public static byte[] programChange(int ch, int programNumber)
public static byte[] channelPressure(int ch, int pressureValue)
public static byte[] channelPressure(int ch, double pressureValue)
public static byte[] pitchBend(int ch, int pitchBendValue)
public static final int d2iPitchBend(double pitchBendValue)
public static final double i2dPitchBend(int pitchBendValue)
public static byte[] pitchBend(int ch, double pitchBendValue)
public static byte[] cc_allSoundOff(int ch)
public static byte[] cc_resetAllControllers(int ch)
public static byte[] cc_localControls(int ch, boolean on)
public static byte[] cc_allNoteOff(int ch)
public static byte[] cc_omniModeOff(int ch)
public static byte[] cc_omniModeOn(int ch)
public static byte[] cc_monoModeOn(int ch)
public static byte[] cc_polyModeOn(int ch)
public static byte[] songPositionPointer(int pos)
public static byte[] songSelect(int songNumber)
public static byte[] endOfExclusive()
public static byte[] clock()
public static byte[] start()
public static byte[] cont()
public static byte[] stop()
public static byte[] reset()
public static <T> T receive(MetroMidiReceiver<T> receiver, byte[] message)
receiver
- message
- public static java.lang.String toStri(byte[] bytes)
public static void main(java.lang.String[] args)