Example usage for Java javax.sound.midi ShortMessage fields, constructors, methods, implement or subclass
The text is from its open source code.
int | NOTE_OFF Command value for Note Off message (0x80, or 128). |
int | NOTE_ON Command value for Note On message (0x90, or 144). |
int | POLY_PRESSURE Command value for Polyphonic Key Pressure (Aftertouch) message (0xA0, or 160). |
int | CONTROL_CHANGE Command value for Control Change message (0xB0, or 176). |
int | PROGRAM_CHANGE Command value for Program Change message (0xC0, or 192). |
int | CHANNEL_PRESSURE Command value for Channel Pressure (Aftertouch) message (0xD0, or 208). |
int | PITCH_BEND Command value for Pitch Bend message (0xE0, or 224). |
ShortMessage() Constructs a new ShortMessage . |
int | getChannel() Obtains the MIDI channel associated with this event. |
int | getCommand() Obtains the MIDI command associated with this event. |
int | getData1() Obtains the first data byte in the message. |
int | getData2() Obtains the second data byte in the message. |
void | setMessage(int command, int channel, int data1, int data2) Sets the short message parameters for a channel message which takes up to two data bytes. |