public abstract class MidiNote 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
Modifier | Constructor and Description |
---|---|
protected |
MidiNote(int command,
int channel,
int pitch,
int velocity) |
protected |
MidiNote(ShortMessage message,
int command) |
Modifier and Type | Method and Description |
---|---|
int |
getPitch() |
String |
getPitchString() |
static String |
getPitchString(int pitch) |
int |
getVelocity() |
boolean |
isNoteOn() |
dispatch, fromShortMessage
clone, getChannel, getCommand, getData1, getData2, getDataLength, setMessage, setMessage, setMessage
getLength, getMessage, getStatus, setMessage
protected MidiNote(int command, int channel, int pitch, int velocity) throws InvalidMidiDataException
InvalidMidiDataException
protected MidiNote(ShortMessage message, int command)
LX library by Mark C. Slee. © 2012-2020