Package com.tagtraum.audiokern.key
Class ForestBasedKey
- java.lang.Object
-
- com.tagtraum.audiokern.key.KeyAlgorithm
-
- com.tagtraum.audiokern.key.ForestBasedKey
-
public class ForestBasedKey extends KeyAlgorithm
RandomForest-based key estimator.- Author:
- Hendrik Schreiber
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONCERT_PITCH_ID
-
Constructor Summary
Constructors Constructor Description ForestBasedKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignalProcessor<AudioBuffer,Key>
createPipeline(AudioFileFormat audioFileFormat)
AudioClip
getRequiredClip(AudioFileFormat audioFileFormat)
Boolean
getUseEDMModel()
boolean
isLimitToOneMinute()
void
setLimitToOneMinute(boolean limitToOneMinute)
void
setUseEDMModel(Boolean useEDMModel)
-
Methods inherited from class com.tagtraum.audiokern.key.KeyAlgorithm
getAudioPumpId, getSong, setSong
-
-
-
-
Field Detail
-
CONCERT_PITCH_ID
public static final String CONCERT_PITCH_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
isLimitToOneMinute
public boolean isLimitToOneMinute()
-
setLimitToOneMinute
public void setLimitToOneMinute(boolean limitToOneMinute)
-
getUseEDMModel
public Boolean getUseEDMModel()
-
setUseEDMModel
public void setUseEDMModel(Boolean useEDMModel)
-
getRequiredClip
public AudioClip getRequiredClip(AudioFileFormat audioFileFormat)
- Specified by:
getRequiredClip
in classKeyAlgorithm
-
createPipeline
public SignalProcessor<AudioBuffer,Key> createPipeline(AudioFileFormat audioFileFormat)
- Specified by:
createPipeline
in classKeyAlgorithm
-
-