Package at.ofai.music.util
Class MatchTempoMap
- java.lang.Object
-
- at.ofai.music.util.MatchTempoMap
-
public class MatchTempoMap extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field and Description protected double[]
realTime
protected int[]
repeats
protected double[]
scoreTime
protected int
size
-
Constructor Summary
Constructors Constructor and Description MatchTempoMap()
MatchTempoMap(int sz)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
add(double rTime, double sTime)
protected void
closeList()
void
dump(double[] tempo, double step)
double
lookup(double value, double[] domain, double[] range)
static void
main(java.lang.String[] args)
protected void
makeSpace()
void
print()
protected void
resize(MatchTempoMap newList)
double
toRealTime(double sTime)
double
toScoreTime(double rTime)
-
-
-
Field Detail
-
realTime
protected double[] realTime
-
repeats
protected int[] repeats
-
scoreTime
protected double[] scoreTime
-
size
protected int size
-
-
Method Detail
-
makeSpace
protected void makeSpace()
-
closeList
protected void closeList()
-
resize
protected void resize(MatchTempoMap newList)
-
toRealTime
public double toRealTime(double sTime)
-
toScoreTime
public double toScoreTime(double rTime)
-
lookup
public double lookup(double value, double[] domain, double[] range)
-
add
public void add(double rTime, double sTime)
-
dump
public void dump(double[] tempo, double step)
-
print
public void print()
-
main
public static void main(java.lang.String[] args)
-
-