public class MidiPitchBend extends LXShortMessage
ACTIVE_SENSING, CHANNEL_PRESSURE, CONTINUE, CONTROL_CHANGE, END_OF_EXCLUSIVE, MIDI_TIME_CODE, NOTE_OFF, NOTE_ON, PITCH_BEND, POLY_PRESSURE, PROGRAM_CHANGE, SONG_POSITION_POINTER, SONG_SELECT, START, STOP, SYSTEM_RESET, TIMING_CLOCK, TUNE_REQUEST
data, length
Constructor and Description |
---|
MidiPitchBend(int channel,
int msb) |
MidiPitchBend(int channel,
int lsb,
int msb) |
Modifier and Type | Method and Description |
---|---|
double |
getNormalized()
Returns the pitch bend value normalized space from [-1, +1]
|
int |
getPitchBend()
Returns the pitch bend value, signed from [-8192, +8191]
|
String |
toString() |
dispatch, fromShortMessage
clone, getChannel, getCommand, getData1, getData2, getDataLength, setMessage, setMessage, setMessage
getLength, getMessage, getStatus, setMessage
public MidiPitchBend(int channel, int msb) throws InvalidMidiDataException
InvalidMidiDataException
public MidiPitchBend(int channel, int lsb, int msb) throws InvalidMidiDataException
InvalidMidiDataException
LX library by Mark C. Slee. © 2012-2020