com.meapsoft.composers
Class MashupComposer
java.lang.Object
com.meapsoft.MEAPUtil
com.meapsoft.composers.Composer
com.meapsoft.composers.MashupComposer
- All Implemented Interfaces:
- java.lang.Runnable
- public class MashupComposer
- extends Composer
Program that composes a mashup by replacing each segment of the
input file with the chunk in a given chunk database whos features
most closely match those of the input chunk.
Produces an EDL from two feature files. Basically an offline
version of Mike Mandel's mashup generator.
Fields inherited from class com.meapsoft.MEAPUtil |
bigEndian, bitsPerSamp, exceptionHandler, frameLatency, mixerToUse, numChannels, progress, samplingRate, signed, slash, stereo, verbose, version, writeMEAPFile |
Constructor Summary |
MashupComposer(FeatFile featFN,
FeatFile DBFN,
EDLFile outFN)
|
MashupComposer(FeatFile featFN,
FeatFile DBFN,
EDLFile outFN,
ChunkDist cd)
|
MashupComposer(java.lang.String[] args)
MashupComposer constructor. |
MashupComposer(java.lang.String featFN,
java.lang.String DBFN,
java.lang.String outFN)
|
MashupComposer(java.lang.String featFN,
java.lang.String DBFN,
java.lang.String outFN,
ChunkDist cd)
|
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
MashupComposer
public MashupComposer(java.lang.String featFN,
java.lang.String DBFN,
java.lang.String outFN)
MashupComposer
public MashupComposer(java.lang.String featFN,
java.lang.String DBFN,
java.lang.String outFN,
ChunkDist cd)
MashupComposer
public MashupComposer(FeatFile featFN,
FeatFile DBFN,
EDLFile outFN)
MashupComposer
public MashupComposer(FeatFile featFN,
FeatFile DBFN,
EDLFile outFN,
ChunkDist cd)
MashupComposer
public MashupComposer(java.lang.String[] args)
- MashupComposer constructor. Parses command line arguments
printUsageAndExit
public void printUsageAndExit()
setup
public void setup()
throws java.io.IOException,
ParserException
- Description copied from class:
Composer
- Setup the Composer - read in files, etc.
This should be called before any call to compose() to ensure
that the inputs and outputs are properly initialized.
- Overrides:
setup
in class Composer
- Throws:
java.io.IOException
ParserException
compose
public EDLFile compose()
- Description copied from class:
Composer
- Compose an EDLFile. This is where the magic happens.
- Specified by:
compose
in class Composer
main
public static void main(java.lang.String[] args)