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_REQUESTdata, 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, fromShortMessageclone, getChannel, getCommand, getData1, getData2, getDataLength, setMessage, setMessage, setMessagegetLength, getMessage, getStatus, setMessagepublic MidiPitchBend(int channel,
int msb)
throws InvalidMidiDataException
InvalidMidiDataExceptionpublic MidiPitchBend(int channel,
int lsb,
int msb)
throws InvalidMidiDataException
InvalidMidiDataExceptionLX library by Mark C. Slee. © 2012-2020