comirva.audio.extraction
Class TimbreDistributionExtractionThread

java.lang.Object
  extended by java.lang.Thread
      extended by comirva.audio.extraction.AudioFeatureExtractionThread
          extended by comirva.audio.extraction.TimbreDistributionExtractionThread
All Implemented Interfaces:
Runnable

public class TimbreDistributionExtractionThread
extends AudioFeatureExtractionThread

Timbre Distribution Extraction Thread

Description:

Represents a batch job for extracting the Timbre Distribution form audio files.

See Also:
TimbreDistribution

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class comirva.audio.extraction.AudioFeatureExtractionThread
featureExtractor, features, files, meta, statusBar, ws
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TimbreDistributionExtractionThread(File[] files, Workspace ws, JLabel statusBar)
          Constructs a TimbreDistributionExtractionThread.
 
Method Summary
protected  void createDataMatrix()
          This template method creates a DataMatrix containing the distance matrix based on the trimbre distribution metric.
 
Methods inherited from class comirva.audio.extraction.AudioFeatureExtractionThread
run
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimbreDistributionExtractionThread

public TimbreDistributionExtractionThread(File[] files,
                                          Workspace ws,
                                          JLabel statusBar)
Constructs a TimbreDistributionExtractionThread.

Parameters:
files - File[] the audio files to process
ws - Workspace the workspace object to store the result in
statusBar - JLabel the status bar to show some progress information
Method Detail

createDataMatrix

protected void createDataMatrix()
This template method creates a DataMatrix containing the distance matrix based on the trimbre distribution metric.

Specified by:
createDataMatrix in class AudioFeatureExtractionThread