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_REQUESTdata, 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, fromShortMessageclone, getChannel, getCommand, getData1, getData2, getDataLength, setMessage, setMessage, setMessagegetLength, getMessage, getStatus, setMessageprotected MidiNote(int command,
int channel,
int pitch,
int velocity)
throws InvalidMidiDataException
InvalidMidiDataExceptionprotected MidiNote(ShortMessage message, int command)
LX library by Mark C. Slee. © 2012-2020