be.hogent.tarsos.sampled.pitch
Class AnnotationSelection

java.lang.Object
  extended by be.hogent.tarsos.sampled.pitch.AnnotationSelection

public final class AnnotationSelection
extends java.lang.Object

Represents the current selection of annotations.


Field Summary
static double MAX_PROBABILITY
           
 
Constructor Summary
AnnotationSelection()
           
AnnotationSelection(AnnotationSelection selectionToCopy)
           
 
Method Summary
 double getMinProbability()
           
 double getStartPitch()
           
 double getStartTime()
           
 double getStopPitch()
           
 double getStopTime()
           
 double getTimeSpan()
           
 void setMinProbability(double newMinProbability)
           
 void setPitchSelection(double newStartPitch, double newStopPitch)
           
 void setSelection(double newStartTime, double newStopTime, double newStartPitch, double newStopPitch)
           
 void setSelection(double newStartTime, double newStopTime, double newStartPitch, double newStopPitch, double newMinProbability)
           
 void setTimeSelection(double newStartTime, double newStopTime)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_PROBABILITY

public static final double MAX_PROBABILITY
See Also:
Constant Field Values
Constructor Detail

AnnotationSelection

public AnnotationSelection()

AnnotationSelection

public AnnotationSelection(AnnotationSelection selectionToCopy)
Method Detail

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