|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.frinika.tootX.midi.MidiEventRouter
public class MidiEventRouter
Implements a MidiFilter. A Controls are associated with events using a hastable. Usage: MidiEventRouter router = midiDeviceRouter.getROuter(dev.getDeviceInfo()); router.setLearning(control); // use midi controller See for example MidiLearnFrame.
| Method Summary | |
|---|---|
void |
assignMapper()
called when last message was the type you want to do the control. |
void |
assignMapping(java.lang.Long midiHash,
uk.org.toot.control.Control contrl)
|
void |
close()
|
boolean |
consume(javax.sound.midi.MidiMessage mess,
long stamp)
implements MidiFilter |
void |
setLearning(uk.org.toot.control.Control focus)
set mode to learning listen to midi event You then call assignMapper() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void close()
public void setLearning(uk.org.toot.control.Control focus)
focus - (control to be manipulated)
public boolean consume(javax.sound.midi.MidiMessage mess,
long stamp)
consume in interface MidiFiltermess - midimessagestamp - time stamp
public void assignMapper()
public void assignMapping(java.lang.Long midiHash,
uk.org.toot.control.Control contrl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||