sdr 0.7

net.cscott.sdr.sound
Class OldMidiTimer

java.lang.Object
  extended by com.jme.util.Timer
      extended by net.cscott.sdr.sound.OldMidiTimer

public class OldMidiTimer
extends com.jme.util.Timer

Create a jME timer object using timing info from MIDI playback.


Constructor Summary
OldMidiTimer(Sequencer sequencer)
           
 
Method Summary
 float getBeatTime()
           
 float getFrameRate()
           
 long getResolution()
           
 long getTime()
           
 float getTimePerFrame()
           
 void reset()
           
 void update()
           
 
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
 

Constructor Detail

OldMidiTimer

public OldMidiTimer(Sequencer sequencer)
Method Detail

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

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian