com.meapsoft
Class Segmenter
java.lang.Object
com.meapsoft.MEAPUtil
com.meapsoft.Segmenter
- All Implemented Interfaces:
- java.lang.Runnable
- public class Segmenter
- extends MEAPUtil
Program to segment input files and output text feature files
compatible with other MEAPsoft tools.
Fields inherited from class com.meapsoft.MEAPUtil |
bigEndian, bitsPerSamp, exceptionHandler, frameLatency, mixerToUse, numChannels, progress, samplingRate, signed, slash, stereo, verbose, version, writeMEAPFile |
Constructor Summary |
Segmenter(java.lang.String[] args)
Segmenter constructor. |
Segmenter(java.lang.String[] inFiles,
java.lang.String outputFile)
|
Segmenter(java.lang.String[] inFiles,
java.lang.String outputFile,
double thr,
boolean beatOD,
boolean oaff)
|
Segmenter(java.lang.String[] inFiles,
java.lang.String outputFile,
double thr,
double smt,
boolean beatOD,
boolean oaff)
|
Segmenter(java.lang.String inFile,
java.lang.String outputFile)
|
Segmenter(java.lang.String inFile,
java.lang.String outputFile,
double thr,
boolean beatOD,
boolean oaff)
|
Segmenter(java.lang.String inFile,
java.lang.String outputFile,
double thr,
double smt,
boolean beatOD,
boolean oaff)
|
Methods inherited from class com.meapsoft.MEAPUtil |
bytes2doubles, doubles2bytes, getPaths, getProgress, openAudioWriter, openAudioWriter, openInputStream, openInputStream, parseChunkDist, parseFeatDim, parseFeatureExtractor, parseFeatureExtractor, printCommandLineOptions, printCommandLineOptions, setExceptionHandler, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Segmenter
public Segmenter(java.lang.String[] inFiles,
java.lang.String outputFile)
Segmenter
public Segmenter(java.lang.String inFile,
java.lang.String outputFile)
Segmenter
public Segmenter(java.lang.String[] inFiles,
java.lang.String outputFile,
double thr,
boolean beatOD,
boolean oaff)
Segmenter
public Segmenter(java.lang.String[] inFiles,
java.lang.String outputFile,
double thr,
double smt,
boolean beatOD,
boolean oaff)
Segmenter
public Segmenter(java.lang.String inFile,
java.lang.String outputFile,
double thr,
boolean beatOD,
boolean oaff)
Segmenter
public Segmenter(java.lang.String inFile,
java.lang.String outputFile,
double thr,
double smt,
boolean beatOD,
boolean oaff)
Segmenter
public Segmenter(java.lang.String[] args)
- Segmenter constructor. Parses command line arguments
printUsageAndExit
public void printUsageAndExit()
processAudioFile
public FeatFile processAudioFile()
throws java.io.IOException,
javax.sound.sampled.UnsupportedAudioFileException
- Throws:
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
processAudioFile
public FeatFile processAudioFile(java.lang.String fn)
throws java.io.IOException,
javax.sound.sampled.UnsupportedAudioFileException
- Throws:
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
run
public void run()
- Set everything up, process input, and write output.
- Specified by:
run
in interface java.lang.Runnable
- Specified by:
run
in class MEAPUtil
setTempoMultiplier
public void setTempoMultiplier(double mult)
getSegFile
public FeatFile getSegFile()
main
public static void main(java.lang.String[] args)