|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopenpiano.midi.MidiInput
public class MidiInput
The MidiInput class receives events from a selected MIDI in port
| Constructor Summary | |
|---|---|
MidiInput(Controller controller,
MidiDevice.Info midiDevice)
Constructs a new Receiver from a MIDI in port |
|
| Method Summary | |
|---|---|
void |
close()
Closes the receiver |
void |
send(MidiMessage midiMessage,
long timeStamp)
Sends a MIDI command to the main controller |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MidiInput(Controller controller,
MidiDevice.Info midiDevice)
controller - the main controller of the applicationmidiDevice - the MIDI in port| Method Detail |
|---|
public void close()
close in interface Receiver
public void send(MidiMessage midiMessage,
long timeStamp)
send in interface ReceivermidiMessage - the MIDI commandtimeStamp - the time stamp of the MIDI command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||