com.softsynth.jmsl.util
Class MidiTempoHolder

java.lang.Object
  extended by com.softsynth.jmsl.util.MidiTempoHolder

public class MidiTempoHolder
extends java.lang.Object


Constructor Summary
MidiTempoHolder(int tick, int msPerQtr, double division)
          ontime as tick, msPerQtr which is standard Midifile unit, qtr division as a double
 
Method Summary
 double getBPM()
           
 double getTempoEventTime()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidiTempoHolder

public MidiTempoHolder(int tick,
                       int msPerQtr,
                       double division)
ontime as tick, msPerQtr which is standard Midifile unit, qtr division as a double

Method Detail

getBPM

public double getBPM()
Returns:
tempo in BPM

getTempoEventTime

public double getTempoEventTime()
Returns:
tempo event's ontime in units of qtr = 1.0