|
||||||||||
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 | |
---|---|
DYNAMIC_WAVELET
|
|
MPM
See McLeodPitchMethod . |
|
YIN
See Yin for the implementation. |
Method Summary | |
---|---|
PitchDetector |
getDetector(float sampleRate,
int bufferSize)
|
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 DYNAMIC_WAVELET
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |