Definition at line 47 of file FeatExtractor.java.
Public Methods | |
FeatExtractor (String infile, String outfile, Vector extractors) | |
FeatExtractor constructor. | |
FeatExtractor (FeatFile infile, FeatFile outfile, Vector extractors) | |
FeatExtractor constructor. | |
FeatExtractor (FeatFile[] infiles, FeatFile outfile, Vector extractors) | |
FeatExtractor constructor. | |
FeatExtractor (String[] args) | |
FeatExtractor constructor. | |
void | setup () throws IOException, ParserException |
FeatFile[] | processFeatFiles () throws IOException, UnsupportedAudioFileException |
Where the magic happens. | |
FeatFile | processFeatFile (FeatFile f) throws IOException, UnsupportedAudioFileException |
Where the magic happens. | |
void | run () |
Set everything up, process input, and write output. | |
void | setFeatureExtractorWeights (Vector v) |
Set weights associated with the different FeatureExtractors used by this object. | |
void | setClearNonMetaFeatures (boolean clearNonMF) |
Should this FeatExtractor clear any non meta features? | |
void | setWindowSize (double winSize) |
Set the STFT window size for the feature extractors to use. | |
void | setHopSize (double hopSize) |
Set the STFT hop size for the feature extractors to use. | |
double | getWindowSize () |
Get the STFT window size used by the feature extractors. | |
double | getHopSize () |
Get the STFT hop size used by the feature extractors. |
|
FeatExtractor constructor. If no extractors is empty, defaults to AvgMelSpec. Definition at line 75 of file FeatExtractor.java. |
|
FeatExtractor constructor. If no extractors is empty, defaults to AvgMelSpec. Definition at line 84 of file FeatExtractor.java. |
|
FeatExtractor constructor. If no extractors is empty, defaults to AvgMelSpec. Definition at line 96 of file FeatExtractor.java. |
|
FeatExtractor constructor. Parses command line arguments Definition at line 122 of file FeatExtractor.java. References meapsoft.MEAPUtil.parseFeatureExtractor(), meapsoft.FeatExtractor.setHopSize(), and meapsoft.FeatExtractor.setWindowSize(). |
|
Where the magic happens. Extract features from file. Definition at line 196 of file FeatExtractor.java. References meapsoft.FeatChunk.addFeature(), meapsoft.FeatFile.applyFeatureWeights(), meapsoft.FeatFile.chunks, meapsoft.FeatFile.clone(), meapsoft.FeatFile.featureDescriptions, meapsoft.STFT.getLastFrameAddress(), meapsoft.MEAPFile.haveReadFile, meapsoft.Chunk.length, meapsoft.FeatFile.normalizeFeatures(), meapsoft.STFT.readFrames(), meapsoft.STFT.seconds2fr(), meapsoft.Chunk.srcFile, meapsoft.Chunk.startTime, and meapsoft.STFT.stop(). Referenced by meapsoft.FeatExtractor.processFeatFiles(), and meapsoft.FeatExtractor.run(). |
|
Where the magic happens. Extract features from featFiles. Definition at line 185 of file FeatExtractor.java. References meapsoft.FeatExtractor.processFeatFile(). |
|
Set the STFT hop size for the feature extractors to use.
Definition at line 415 of file FeatExtractor.java. Referenced by meapsoft.FeatExtractor.FeatExtractor(). |
|
Set the STFT window size for the feature extractors to use.
Definition at line 402 of file FeatExtractor.java. Referenced by meapsoft.FeatExtractor.FeatExtractor(). |