net.cscott.sdr.sound
Class OldMidiTimer
java.lang.Object
com.jme.util.Timer
net.cscott.sdr.sound.OldMidiTimer
public class OldMidiTimer
- extends com.jme.util.Timer
Create a jME timer object using timing info from MIDI playback.
Methods inherited from class com.jme.util.Timer |
getTimeInSeconds, getTimer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OldMidiTimer
public OldMidiTimer(Sequencer sequencer)
getFrameRate
public float getFrameRate()
- Specified by:
getFrameRate
in class com.jme.util.Timer
getResolution
public long getResolution()
- Specified by:
getResolution
in class com.jme.util.Timer
getTime
public long getTime()
- Specified by:
getTime
in class com.jme.util.Timer
getBeatTime
public float getBeatTime()
getTimePerFrame
public float getTimePerFrame()
- Specified by:
getTimePerFrame
in class com.jme.util.Timer
reset
public void reset()
- Specified by:
reset
in class com.jme.util.Timer
update
public void update()
- Specified by:
update
in class com.jme.util.Timer
Copyright © 2006-2009 C. Scott Ananian