com.meapsoft.composers
Class ShoobyComposer

java.lang.Object
  extended bycom.meapsoft.MEAPUtil
      extended bycom.meapsoft.composers.Composer
          extended bycom.meapsoft.composers.SortComposer
              extended bycom.meapsoft.composers.ShoobyComposer
All Implemented Interfaces:
java.lang.Runnable

public class ShoobyComposer
extends SortComposer

Program that composes an EDL by hopping around from chunk to chunk. Starts from a the first chunk in the source file. Always picks the nearest neighbor in feature space from current chunk. Then makes a drunken walk through the sorted file to the specifications of the user.


Field Summary
static java.lang.String description
           
 
Fields inherited from class com.meapsoft.MEAPUtil
bigEndian, bitsPerSamp, exceptionHandler, frameLatency, mixerToUse, numChannels, progress, samplingRate, signed, slash, stereo, verbose, version, writeMEAPFile
 
Constructor Summary
ShoobyComposer(FeatFile featFN, EDLFile outFN)
           
ShoobyComposer(FeatFile featFN, EDLFile outFN, int outFileLength, int maxClumpWidth, int shoobyDrunkenness)
           
ShoobyComposer(java.lang.String[] args)
          ShoobyComposer constructor.
ShoobyComposer(java.lang.String featFN, java.lang.String outFN, int outFileLength, int maxClumpWidth, int shoobyDrunkenness)
           
 
Method Summary
 EDLFile compose()
          Compose an EDLFile.
static void main(java.lang.String[] args)
           
 void printUsageAndExit()
           
 
Methods inherited from class com.meapsoft.composers.SortComposer
setNormalizeFeatures, setReverseSort, setup
 
Methods inherited from class com.meapsoft.composers.Composer
addCommand, addCommandsToAllEDLChunks, addCommandsToAllEDLChunks, addCommandToAllEDLChunks, description, doComposer, parseCommands, printCommandLineOptions, run
 
Methods inherited from class com.meapsoft.MEAPUtil
bytes2doubles, doubles2bytes, getPaths, getProgress, openAudioWriter, openAudioWriter, openInputStream, openInputStream, parseChunkDist, parseFeatDim, parseFeatureExtractor, parseFeatureExtractor, printCommandLineOptions, setExceptionHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

public static java.lang.String description
Constructor Detail

ShoobyComposer

public ShoobyComposer(java.lang.String featFN,
                      java.lang.String outFN,
                      int outFileLength,
                      int maxClumpWidth,
                      int shoobyDrunkenness)

ShoobyComposer

public ShoobyComposer(FeatFile featFN,
                      EDLFile outFN,
                      int outFileLength,
                      int maxClumpWidth,
                      int shoobyDrunkenness)

ShoobyComposer

public ShoobyComposer(FeatFile featFN,
                      EDLFile outFN)

ShoobyComposer

public ShoobyComposer(java.lang.String[] args)
ShoobyComposer constructor. Parses command line arguments

Method Detail

printUsageAndExit

public void printUsageAndExit()
Overrides:
printUsageAndExit in class SortComposer

compose

public EDLFile compose()
Description copied from class: Composer
Compose an EDLFile. This is where the magic happens.

Overrides:
compose in class SortComposer

main

public static void main(java.lang.String[] args)