Package com.tagtraum.beatunes.analysis
Class AudioAnalysisTask<T>
- java.lang.Object
-
- com.tagtraum.beatunes.analysis.Task
-
- com.tagtraum.beatunes.analysis.AudioAnalysisTask<T>
-
- All Implemented Interfaces:
TaskFactory
,TaskProcessListener
,TaskRunListener
,Matchable<PlayList.SubstringFilterProperty>
,Cloneable
- Direct Known Subclasses:
AnalyzeKey
,AnalyzeReplayGain
,ComputeColor
,DetectSilence
,EstimateBPM
,EstimateDanceability
,ImportOnlineDBMetaData
,SimilarityTask
,SongPropertyAnalysisTask
@Entity public abstract class AudioAnalysisTask<T> extends Task
Audio analysis task.- Author:
- Hendrik Schreiber
-
-
Field Summary
-
Fields inherited from class com.tagtraum.beatunes.analysis.Task
useOnlineResources
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AudioAnalysisTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignalProcessor<AudioBuffer,T>
createPipeline(AudioFileFormat audioFileFormat)
String
getAlgorithmName(Class klass)
AudioClip
getRequiredClip(AudioFileFormat audioFileFormat)
-
Methods inherited from class com.tagtraum.beatunes.analysis.Task
add, addTaskProcessListener, addTaskRunListener, cancel, clearProperties, createDeepCopy, createEditor, createTask, deepRemove, equals, fetchCollections, getAnalysisProgress, getApplication, getAudioFileFormat, getCurrentOperation, getDeepLeafs, getDeepTaskCount, getDeepTasks, getDescription, getEditor, getId, getMessagePanel, getName, getParent, getPriority, getProperties, getProperty, getPropertyNames, getReferenceSong, getSong, getSongId, getTask, getTaskCount, getTasks, hashCode, hasSucceeded, isAvailable, isCancelled, isDeepUseOnlineResources, isFileExistedBeforeStart, isLeaf, isPaused, isProgressRelevant, isUseOnlineResources, matches, maybePause, process, processAfter, processBefore, processFinally, remove, removeDeadLeaves, run, runAfter, runBefore, runFinally, setAnalysisProgress, setApplication, setAudioFileFormat, setAvailable, setCurrentOperation, setId, setParent, setPaused, setPriority, setProgressRelevant, setProperties, setProperty, setReferenceSong, setSkipped, setSong, setSongId, setSucceeded, setUseOnlineResources, skip, toString, wasSkipped
-
-
-
-
Method Detail
-
getRequiredClip
public AudioClip getRequiredClip(AudioFileFormat audioFileFormat)
- Parameters:
audioFileFormat
- file format of the original, potentially compressed audio file- Returns:
- the clip this algorithm actually requires
-
createPipeline
public SignalProcessor<AudioBuffer,T> createPipeline(AudioFileFormat audioFileFormat)
-
-