Package com.softsynth.jmsl.util
Class MidiTempoHolder
java.lang.Object
com.softsynth.jmsl.util.MidiTempoHolder
public class MidiTempoHolder
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description MidiTempoHolder(int tick, int msPerQtr, double division)
ontime as tick, msPerQtr which is standard Midifile unit, qtr division as a double -
Method Summary
Modifier and Type Method Description double
getBPM()
double
getTempoEventTime()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MidiTempoHolder
public MidiTempoHolder(int tick, int msPerQtr, double division)ontime as tick, msPerQtr which is standard Midifile unit, qtr division as a double
-
-
Method Details
-
getBPM
public double getBPM()- Returns:
- tempo in BPM
-
getTempoEventTime
public double getTempoEventTime()- Returns:
- tempo event's ontime in units of qtr = 1.0
-