|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.hogent.tarsos.ui.pitch.HistogramData
public class HistogramData
Method Summary | |
---|---|
void |
addAnnotation(Annotation annotation)
Add an annotation to the element. |
void |
annotationsAdded()
Is called after a list of annotations is added. |
void |
audioFileChanged(AudioFile newAudioFile)
|
void |
clearAnnotations()
Clears all annotations. |
void |
clearHistograms()
|
boolean |
containsKey(PitchDetectionMode source)
|
void |
extractionFinished()
A hook to react to annotation extraction. |
void |
extractionStarted()
A hook to react to annotation extraction. |
Histogram |
getFirst()
|
Histogram |
getHistogram(PitchDetectionMode mode)
|
static HistogramData |
getPitchClassHistogramInstance()
|
static HistogramData |
getPitchHistogramInstance()
|
boolean |
isEmpty()
|
void |
setComponentToRepaint(javax.swing.JComponent component)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static HistogramData getPitchHistogramInstance()
public static HistogramData getPitchClassHistogramInstance()
public void clearHistograms()
public boolean isEmpty()
public Histogram getFirst()
public void setComponentToRepaint(javax.swing.JComponent component)
public void audioFileChanged(AudioFile newAudioFile)
audioFileChanged
in interface AudioFileChangedListener
public Histogram getHistogram(PitchDetectionMode mode)
public void addAnnotation(Annotation annotation)
AnnotationListener
addAnnotation
in interface AnnotationListener
annotation
- The annotation to add: this method is called a lot. After a
clearAnnotations() call a very large number of annotations is
possible. So efficiently adding annotations should be possible
or threaded.public boolean containsKey(PitchDetectionMode source)
public void clearAnnotations()
AnnotationListener
clearAnnotations
in interface AnnotationListener
public void annotationsAdded()
AnnotationListener
annotationsAdded
in interface AnnotationListener
public void extractionStarted()
AnnotationListener
extractionStarted
in interface AnnotationListener
public void extractionFinished()
AnnotationListener
extractionFinished
in interface AnnotationListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |