|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.beadsproject.beads.analysis.FeatureExtractor<float[],float[]> net.beadsproject.beads.analysis.featureextractors.FFT net.beadsproject.beads.analysis.featureextractors.PowerSpectrum
public class PowerSpectrum
PowerSpectrum calculates the power spectrum from a segmented audio signal. PowerSpectrum forwards the full power spectrum data to its listeners.
Field Summary |
---|
Fields inherited from class net.beadsproject.beads.analysis.featureextractors.FFT |
---|
fftImag, fftReal, listeners |
Fields inherited from class net.beadsproject.beads.analysis.FeatureExtractor |
---|
featureDescriptions, features, name, numFeatures |
Constructor Summary | |
---|---|
PowerSpectrum()
Instantiates a new PowerSpectrum. |
Method Summary | |
---|---|
float[] |
getFeatures()
Gets the current features of type R, specified in the class def. |
void |
process(float[] data)
Process some data of type P (specified by the class def). |
Methods inherited from class net.beadsproject.beads.analysis.featureextractors.FFT |
---|
addListener, calculateImaginary, calculateReal, fft |
Methods inherited from class net.beadsproject.beads.analysis.FeatureExtractor |
---|
getFeatureDescriptions, getName, getNumberOfFeatures, setName, setNumberOfFeatures |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PowerSpectrum()
Method Detail |
---|
public void process(float[] data)
FeatureExtractor
process
in class FFT
data
- the data.public float[] getFeatures()
FeatureExtractor
getFeatures
in class FeatureExtractor<float[],float[]>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |