public abstract class F0Tracker.CandidateEstimator extends FrameBasedAnalyser
FrameBasedAnalyser.FrameAnalysisResult<T>| Modifier and Type | Field and Description |
|---|---|
protected int |
nCandidates |
analysisResultsframe, frameLength, frameShift, frameStart, nextFrameStart, processor, samplingRate, signal, totalRead, validSamplesInFrame| Constructor and Description |
|---|
F0Tracker.CandidateEstimator(DoubleDataSource signal,
Window window,
int frameShift,
int samplingRate,
int nCandidates) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCandidate(F0Tracker.F0Candidate[] candidates,
F0Tracker.F0Candidate newCandidate) |
Object |
analyse(double[] frame)
Apply this FrameBasedAnalyser to the given data.
|
protected abstract void |
findCandidates(F0Tracker.F0Candidate[] candidates,
double[] frame) |
protected void |
normaliseCandidatesScores(F0Tracker.F0Candidate[] candidates) |
analyseAllFrames, analyseAvailableFrames, analyseNextFrame, constructAnalysisResultgetCurrentFrame, getData, getFrameLengthSamples, getFrameLengthTime, getFrameShiftSamples, getFrameShiftTime, getFrameStartSamples, getFrameStartTime, getNextFrame, getSamplingRate, hasMoreData, main, resetInternalTimer, stopWhenTouchingEnd, validSamplesInFramepublic F0Tracker.CandidateEstimator(DoubleDataSource signal, Window window, int frameShift, int samplingRate, int nCandidates)
public Object analyse(double[] frame)
analyse in class FrameBasedAnalyserframe - the data to analyse, which must be of the length prescribed by this FrameBasedAnalyser, i.e. by
FrameProvider.getFrameLengthSamples().IllegalArgumentException - if frame does not have the prescribed lengthprotected abstract void findCandidates(F0Tracker.F0Candidate[] candidates, double[] frame)
protected void normaliseCandidatesScores(F0Tracker.F0Candidate[] candidates)
protected void addCandidate(F0Tracker.F0Candidate[] candidates, F0Tracker.F0Candidate newCandidate)
Copyright © 2000–2016 DFKI GmbH. All rights reserved.