|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PitchDetectionMode>
be.hogent.tarsos.sampled.pitch.PitchDetectionMode
public enum PitchDetectionMode
The pitch detection mode defines which algorithm is used to detect pitch.
| Enum Constant Summary | |
|---|---|
IPEM_ONE
The IPEM pitch tracker outputs only one pitch candidates. |
|
IPEM_SIX
The IPEM pitch tracker outputs six weighted pitch candidates. |
|
POLYPHON
|
|
SWIPE
|
|
SWIPE_OCTAVE
|
|
TARSOS_DYNAMIC_WAVELET
|
|
TARSOS_FAST_MPM
|
|
TARSOS_FAST_YIN
The pure java YIN implementation of Tarsos, with parameters set for speed (less accurate). |
|
TARSOS_FFT_YIN
|
|
TARSOS_MPM
The pure java MPM (Tartini pitch tracker) implementation of Tarsos. |
|
TARSOS_YIN
The pure java YIN implementation of Tarsos. |
|
VAMP_CONSTANT_Q_200
Spectral comb. |
|
VAMP_CONSTANT_Q_400
Spectral comb. |
|
VAMP_FAST_HARMONIC_COMB
Fast harmonic comb. |
|
VAMP_MAZURKA_PITCH
Uses a basic estimate of the pitch extracted from the spectrum. |
|
VAMP_SCHMITT
Schmitt trigger. |
|
VAMP_SPECTRAL_COMB
Spectral comb. |
|
VAMP_YIN
The AUBIO_YIN algorithm. |
|
VAMP_YIN_FFT
A faster version of AUBIO_YIN: spectral AUBIO_YIN. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDetectionModeName()
|
java.lang.String |
getParametername()
|
PitchDetector |
getPitchDetector(AudioFile audioFile)
Returns a pitch detector for an audio file. |
static java.util.List<PitchDetectionMode> |
selected()
|
static PitchDetectionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PitchDetectionMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, 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 PitchDetectionMode VAMP_YIN
public static final PitchDetectionMode VAMP_YIN_FFT
public static final PitchDetectionMode VAMP_FAST_HARMONIC_COMB
public static final PitchDetectionMode VAMP_MAZURKA_PITCH
public static final PitchDetectionMode VAMP_SCHMITT
public static final PitchDetectionMode VAMP_SPECTRAL_COMB
public static final PitchDetectionMode VAMP_CONSTANT_Q_200
public static final PitchDetectionMode VAMP_CONSTANT_Q_400
public static final PitchDetectionMode IPEM_SIX
public static final PitchDetectionMode IPEM_ONE
public static final PitchDetectionMode TARSOS_YIN
public static final PitchDetectionMode TARSOS_FAST_YIN
public static final PitchDetectionMode TARSOS_MPM
public static final PitchDetectionMode TARSOS_FAST_MPM
public static final PitchDetectionMode TARSOS_DYNAMIC_WAVELET
public static final PitchDetectionMode SWIPE
public static final PitchDetectionMode POLYPHON
public static final PitchDetectionMode SWIPE_OCTAVE
public static final PitchDetectionMode TARSOS_FFT_YIN
| Method Detail |
|---|
public static PitchDetectionMode[] values()
for (PitchDetectionMode c : PitchDetectionMode.values()) System.out.println(c);
public static PitchDetectionMode 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 java.lang.String getParametername()
public PitchDetector getPitchDetector(AudioFile audioFile)
audioFile - the audioFile to detect pitch for.
public java.lang.String getDetectionModeName()
public static java.util.List<PitchDetectionMode> selected()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||