public final class CachingDetector extends java.lang.Object implements PitchDetector
| Constructor and Description |
|---|
CachingDetector(AudioFile audioFile,
PitchDetector pitchDetector)
Create a new caching pitch detector.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Annotation> |
executePitchDetection()
Execute the pitch detection process.
|
java.util.List<Annotation> |
getAnnotations() |
java.lang.String |
getName() |
double |
progress()
Calculate and return an indicator for progress.
|
public CachingDetector(AudioFile audioFile, PitchDetector pitchDetector)
audioFile - The file to cache results for.pitchDetector - The detector used.public java.util.List<Annotation> executePitchDetection()
PitchDetectorexecutePitchDetection in interface PitchDetectorpublic java.util.List<Annotation> getAnnotations()
getAnnotations in interface PitchDetectorpublic java.lang.String getName()
getName in interface PitchDetectorpublic double progress()
PitchDetectorprogress in interface PitchDetector