|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PitchProcessor.PitchEstimationAlgorithm> be.hogent.tarsos.dsp.pitch.PitchProcessor.PitchEstimationAlgorithm
public static enum PitchProcessor.PitchEstimationAlgorithm
A list of pitch estimation algorithms.
Enum Constant Summary | |
---|---|
AMDF
A pitch extractor that extracts the Average Magnitude Difference (AMDF) from an audio buffer. |
|
DYNAMIC_WAVELET
An implementation of a dynamic wavelet pitch detection algorithm (See DynamicWavelet ), described in a paper by Eric Larson and Ross
Maddox "Real-Time
Time-Domain Pitch Tracking Using Wavelets |
|
FFT_YIN
A YIN implementation with a faster FastYin for the implementation. |
|
MPM
See McLeodPitchMethod . |
|
YIN
See Yin for the implementation. |
Method Summary | |
---|---|
PitchDetector |
getDetector(float sampleRate,
int bufferSize)
Returns a new instance of a pitch detector object based on the provided values. |
static PitchProcessor.PitchEstimationAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PitchProcessor.PitchEstimationAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PitchProcessor.PitchEstimationAlgorithm YIN
Yin
for the implementation. Or see the YIN article.
public static final PitchProcessor.PitchEstimationAlgorithm MPM
McLeodPitchMethod
. It is described in the article "A Smarter Way to Find Pitch".
public static final PitchProcessor.PitchEstimationAlgorithm FFT_YIN
FastYin
for the implementation. Or see the YIN article.
public static final PitchProcessor.PitchEstimationAlgorithm DYNAMIC_WAVELET
DynamicWavelet
), described in a paper by Eric Larson and Ross
Maddox "Real-Time
Time-Domain Pitch Tracking Using Wavelets
public static final PitchProcessor.PitchEstimationAlgorithm AMDF
Method Detail |
---|
public static PitchProcessor.PitchEstimationAlgorithm[] values()
for (PitchProcessor.PitchEstimationAlgorithm c : PitchProcessor.PitchEstimationAlgorithm.values()) System.out.println(c);
public static PitchProcessor.PitchEstimationAlgorithm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic PitchDetector getDetector(float sampleRate, int bufferSize)
sampleRate
- The sample rate of the audio buffer.bufferSize
- The size (in samples) of the audio buffer.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |