|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface SimpleMidiListener
A SimpleMidiListener can be notified of incomming NoteOn, NoteOff and ControllerChange MIDI messages, usually by a MidiBus object which it is connected to. Typically it would analyse and react to incomming MIDI messages in some useful way.
MidiListener,
RawMidiListener,
StandardMidiListener,
MidiBus| Method Summary | |
|---|---|
void |
controllerChange(int channel,
int number,
int value)
Objects notifying this SimpleMidiListener of a new ControllerChange MIDI message call this method. |
void |
noteOff(int channel,
int pitch,
int velocity)
Objects notifying this SimpleMidiListener of a new NoteOff MIDI message call this method. |
void |
noteOn(int channel,
int pitch,
int velocity)
Objects notifying this SimpleMidiListener of a new NoteOn MIDI message call this method. |
| Method Detail |
|---|
void noteOn(int channel,
int pitch,
int velocity)
channel - the channel on which the NoteOn arrivedpitch - the pitch associated with the NoteOnvelocity - the velocity associated with the NoteOn
void noteOff(int channel,
int pitch,
int velocity)
channel - the channel on which the NoteOff arrivedpitch - the pitch associated with the NoteOffvelocity - the velocity associated with the NoteOff
void controllerChange(int channel,
int number,
int value)
channel - the channel on which the ContollerChange arrivednumber - the controller number associated with the ContollerChangevalue - the controller value associated with the ContollerChange
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||