be.hogent.tarsos.sampled.pitch
Class AnnotationSelection
java.lang.Object
be.hogent.tarsos.sampled.pitch.AnnotationSelection
public final class AnnotationSelection
- extends java.lang.Object
Represents the current selection of annotations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MAX_PROBABILITY
public static final double MAX_PROBABILITY
- See Also:
- Constant Field Values
AnnotationSelection
public AnnotationSelection()
AnnotationSelection
public AnnotationSelection(AnnotationSelection selectionToCopy)
setSelection
public void setSelection(double newStartTime,
double newStopTime,
double newStartPitch,
double newStopPitch,
double newMinProbability)
setSelection
public void setSelection(double newStartTime,
double newStopTime,
double newStartPitch,
double newStopPitch)
setTimeSelection
public void setTimeSelection(double newStartTime,
double newStopTime)
setMinProbability
public void setMinProbability(double newMinProbability)
setPitchSelection
public void setPitchSelection(double newStartPitch,
double newStopPitch)
getStartPitch
public double getStartPitch()
getStopPitch
public double getStopPitch()
getStartTime
public double getStartTime()
getStopTime
public double getStopTime()
getMinProbability
public double getMinProbability()
getTimeSpan
public double getTimeSpan()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object