public class F0TrackerAutocorrelationDP.CandidateEstimator extends F0Tracker.CandidateEstimator
FrameBasedAnalyser.FrameAnalysisResult<T>
Modifier and Type | Field and Description |
---|---|
protected double[] |
correlationInput |
protected int |
maxF0 |
protected int |
minF0 |
static int |
NCANDIDATES |
nCandidates
analysisResults
frame, frameLength, frameShift, frameStart, nextFrameStart, processor, samplingRate, signal, totalRead, validSamplesInFrame
Constructor and Description |
---|
F0TrackerAutocorrelationDP.CandidateEstimator(DoubleDataSource signal,
Window window,
int frameShift,
int samplingRate)
Track the F0 contour, using the Autocorrelation method.
|
F0TrackerAutocorrelationDP.CandidateEstimator(DoubleDataSource signal,
Window window,
int frameShift,
int samplingRate,
int minF0,
int maxF0)
Track the F0 contour, using the Autocorrelation method.
|
Modifier and Type | Method and Description |
---|---|
protected void |
findCandidates(F0Tracker.F0Candidate[] candidates,
double[] frame) |
addCandidate, analyse, normaliseCandidatesScores
analyseAllFrames, analyseAvailableFrames, analyseNextFrame, constructAnalysisResult
getCurrentFrame, getData, getFrameLengthSamples, getFrameLengthTime, getFrameShiftSamples, getFrameShiftTime, getFrameStartSamples, getFrameStartTime, getNextFrame, getSamplingRate, hasMoreData, main, resetInternalTimer, stopWhenTouchingEnd, validSamplesInFrame
public static final int NCANDIDATES
protected int minF0
protected int maxF0
protected double[] correlationInput
public F0TrackerAutocorrelationDP.CandidateEstimator(DoubleDataSource signal, Window window, int frameShift, int samplingRate, int minF0, int maxF0)
signal
- the signal for which to track the F0 contourwindow
- the Window to use for cutting out framesframeShift
- the number of samples to shift between framessamplingRate
- the sampling rate of the signal, in samples per secondminF0
- minF0maxF0
- maxF0public F0TrackerAutocorrelationDP.CandidateEstimator(DoubleDataSource signal, Window window, int frameShift, int samplingRate)
signal
- the signal for which to track the F0 contourwindow
- the Window to use for cutting out framesframeShift
- the number of samples to shift between framessamplingRate
- the sampling rate of the signal, in samples per secondprotected void findCandidates(F0Tracker.F0Candidate[] candidates, double[] frame)
findCandidates
in class F0Tracker.CandidateEstimator
Copyright © 2000–2016 DFKI GmbH. All rights reserved.