rasmus.interpreter.midi
Class MidiKeyListener
java.lang.Object
rasmus.interpreter.midi.MidiKeyListener
- All Implemented Interfaces:
- java.awt.event.KeyListener, java.util.EventListener
public class MidiKeyListener
- extends java.lang.Object
- implements java.awt.event.KeyListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MidiKeyListener
public MidiKeyListener()
getVelocity
public int getVelocity()
getOctave
public int getOctave()
setVelocity
public void setVelocity(int value)
setOctave
public void setOctave(int value)
isConsumed
public boolean isConsumed(java.awt.event.KeyEvent e)
allNotesOff
public void allNotesOff()
setReceiver
public void setReceiver(javax.sound.midi.Receiver recv)
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed
in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased
in interface java.awt.event.KeyListener
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
- Specified by:
keyTyped
in interface java.awt.event.KeyListener