Package com.tagtraum.audiokern.lowlevel
Class LowLevelFeatureAnalyzer<T>
- java.lang.Object
-
- com.tagtraum.audiokern.lowlevel.LowLevelFeatureAnalyzer<T>
-
- All Implemented Interfaces:
SongPropertyAnalyzer<T>
- Direct Known Subclasses:
RelativeSpectralEntropyMean,RMSMean,RMSStandardDeviation,SpectralCentroidMean,SpectralFluctuationPeak,SpectralFluxMean,SpectralNoveltyMean,SpectralNoveltyStandardDeviation,SpectralSpreadMean,SpectralVariabilityMean
public abstract class LowLevelFeatureAnalyzer<T> extends Object implements SongPropertyAnalyzer<T>
Low level feature analyzer for the first 120 seconds of audio of a song.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description LowLevelFeatureAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFirstXSecondsOfAudio()AudioClipgetRequiredClip(AudioFileFormat audioFileFormat)Indicates which portion of the audio this analyzer needs to have available to do its job.protected voidsetFirstXSecondsOfAudio(int firstXSecondsOfAudio)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tagtraum.audiokern.SongPropertyAnalyzer
createPipeline, getId, getName, getPropertyName
-
-
-
-
Method Detail
-
getFirstXSecondsOfAudio
public int getFirstXSecondsOfAudio()
-
setFirstXSecondsOfAudio
protected void setFirstXSecondsOfAudio(int firstXSecondsOfAudio)
-
getRequiredClip
public AudioClip getRequiredClip(AudioFileFormat audioFileFormat)
Description copied from interface:SongPropertyAnalyzerIndicates which portion of the audio this analyzer needs to have available to do its job. E.g. the first 20s.- Specified by:
getRequiredClipin interfaceSongPropertyAnalyzer<T>- Parameters:
audioFileFormat- file format- Returns:
- required audio clip or
null, if we need the whole file
-
-