com.meapsoft.composers
Class NNComposer
java.lang.Object
com.meapsoft.MEAPUtil
com.meapsoft.composers.Composer
com.meapsoft.composers.SortComposer
com.meapsoft.composers.NNComposer
- All Implemented Interfaces:
- java.lang.Runnable
- public class NNComposer
- 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. Should
replicate Dan Ellis' ordercols.m.
Fields inherited from class com.meapsoft.MEAPUtil |
bigEndian, bitsPerSamp, exceptionHandler, frameLatency, mixerToUse, numChannels, progress, samplingRate, signed, slash, stereo, verbose, version, writeMEAPFile |
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 |
description
public static java.lang.String description
NNComposer
public NNComposer(java.lang.String featFN,
java.lang.String outFN)
NNComposer
public NNComposer(FeatFile featFN,
EDLFile outFN)
NNComposer
public NNComposer(java.lang.String featFN,
java.lang.String outFN,
ChunkDist cd)
NNComposer
public NNComposer(FeatFile featFN,
EDLFile outFN,
ChunkDist cd)
NNComposer
public NNComposer(java.lang.String[] args)
- NNComposer constructor. Parses command line arguments
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)