public class SpectralFlux extends JAudioFeatureExtractor
featureExtractor| Constructor and Description |
|---|
SpectralFlux()
Default constructor
|
SpectralFlux(AudioStream as)
Constructor that's chainable.
|
| Modifier and Type | Method and Description |
|---|---|
double[][] |
getExtraInputs(double[] samples,
double sampleRate)
Returns the extra inputs required by a specific feature extractor
|
int |
getNumberToStore()
Get the number of spectral flux values to store in the feature
|
void |
setNumberToStore(int numberToStore)
Set the number of spectral flux values to store in the feature
|
extractFeature, getLastCalculatedFeature, process, process, process, process, setLastCalculatedFeaturegetLength, getUnderlyingStream, nextSampleChunk, process, processingComplete, reset, setUnderlyingStreamiterator, seekclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SpectralFlux()
public SpectralFlux(AudioStream as)
as - The stream to chain topublic double[][] getExtraInputs(double[] samples, double sampleRate)
getExtraInputs in class JAudioFeatureExtractorsamples - The samples for a single channelsampleRate - The sample rate of the dataJAudioFeatureExtractor.getExtraInputs(double[], double)public int getNumberToStore()
public void setNumberToStore(int numberToStore)
numberToStore - The number of values to store