|
|||||||||
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.Frequency
public class Frequency
Frequency processes spectral data forwarded to it by a PowerSpectrum
to determine the best estimate for the frequency of the current signal.
Field Summary |
---|
Fields inherited from class net.beadsproject.beads.analysis.FeatureExtractor |
---|
featureDescriptions, features, name, numFeatures |
Constructor Summary | |
---|---|
Frequency(float sampleRate)
Instantiates a new Frequency. |
Method Summary | |
---|---|
java.lang.String[] |
getFeatureDescriptions()
Gets the feature descriptions. |
void |
process(float[] powerSpectrum)
Process some data of type P (specified by the class def). |
Methods inherited from class net.beadsproject.beads.analysis.FeatureExtractor |
---|
getFeatures, 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 Frequency(float sampleRate)
context
- the AudioContext.Method Detail |
---|
public void process(float[] powerSpectrum)
FeatureExtractor
process
in class FeatureExtractor<float[],float[]>
powerSpectrum
- the data.public java.lang.String[] getFeatureDescriptions()
FeatureExtractor
getFeatureDescriptions
in class FeatureExtractor<float[],float[]>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |