net.cscott.sdr.sound
Class OldMidiTimer
java.lang.Object
com.jme.util.Timer
net.cscott.sdr.sound.OldMidiTimer
public class OldMidiTimer
- extends Timer
Create a jME timer object using timing info from MIDI playback.
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 Timer
getResolution
public long getResolution()
- Specified by:
getResolution
in class Timer
getTime
public long getTime()
- Specified by:
getTime
in class Timer
getBeatTime
public float getBeatTime()
getTimePerFrame
public float getTimePerFrame()
- Specified by:
getTimePerFrame
in class Timer
reset
public void reset()
- Specified by:
reset
in class Timer
update
public void update()
- Specified by:
update
in class Timer
Copyright (c) 2006 C. Scott Ananian