public class MagnitudeSpectrum extends JAudioFeatureExtractor
featureExtractor
Constructor and Description |
---|
MagnitudeSpectrum()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
double[][] |
getExtraInputs(double[] samples,
double sampleRate)
Returns the extra inputs required by a specific feature extractor
|
extractFeature, getLastCalculatedFeature, process, process, process, process, setLastCalculatedFeature
getLength, getUnderlyingStream, nextSampleChunk, process, processingComplete, reset, setUnderlyingStream
iterator, seek
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public MagnitudeSpectrum()
public double[][] getExtraInputs(double[] samples, double sampleRate)
getExtraInputs
in class JAudioFeatureExtractor
samples
- The samples for a single channelsampleRate
- The sample rate of the dataJAudioFeatureExtractor.getExtraInputs(double[], double)