|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.hogent.tarsos.ui.pitch.ph.KDEData
public class KDEData
| 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 |
extractionFinished()
A hook to react to annotation extraction. |
void |
extractionStarted()
A hook to react to annotation extraction. |
static KDEData |
getInstance()
|
java.util.HashMap<PitchDetectionMode,KernelDensityEstimate> |
getKDEs()
|
boolean |
isEmpty()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static KDEData getInstance()
public boolean isEmpty()
public void audioFileChanged(AudioFile newAudioFile)
audioFileChanged in interface AudioFileChangedListenerpublic void addAnnotation(Annotation annotation)
AnnotationListener
addAnnotation in interface AnnotationListenerannotation - 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 java.util.HashMap<PitchDetectionMode,KernelDensityEstimate> getKDEs()
public void clearAnnotations()
AnnotationListener
clearAnnotations in interface AnnotationListenerpublic void annotationsAdded()
AnnotationListener
annotationsAdded in interface AnnotationListenerpublic void extractionStarted()
AnnotationListener
extractionStarted in interface AnnotationListenerpublic void extractionFinished()
AnnotationListener
extractionFinished in interface AnnotationListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||