public class AutoCorrelator extends java.lang.Object implements SignalCorrelator
| Constructor and Description |
|---|
AutoCorrelator(int numFrames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSample(double value)
Add a sample to be analyzed.
|
double |
getConfidence()
Measure of how confident the analyzer is of the last result.
|
float[] |
getDiffs()
For internal debugging.
|
double |
getPeriod() |
float |
getPitchCorrectionFactor() |
void |
setPitchCorrectionFactor(float pitchCorrectionFactor) |
public float[] getDiffs()
SignalCorrelatorgetDiffs in interface SignalCorrelatorpublic boolean addSample(double value)
SignalCorrelatoraddSample in interface SignalCorrelatorpublic double getPeriod()
getPeriod in interface SignalCorrelatorpublic double getConfidence()
SignalCorrelatorgetConfidence in interface SignalCorrelatorpublic float getPitchCorrectionFactor()
public void setPitchCorrectionFactor(float pitchCorrectionFactor)