|
|||||||||
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.Power
public class Power
Power calculates the RMS power over a frame directly from an audio signal.
Field Summary |
---|
Fields inherited from class net.beadsproject.beads.analysis.FeatureExtractor |
---|
featureDescriptions, features, name, numFeatures |
Constructor Summary | |
---|---|
Power()
Instantiates a new Power. |
Method Summary | |
---|---|
java.lang.String[] |
getFeatureDescriptions()
Gets the feature descriptions. |
int |
getNumberOfFeatures()
Gets the number of features. |
void |
process(float[] audioData)
Process some data of type P (specified by the class def). |
void |
setNumberOfFeatures(int numFeatures)
Sets the number of features. |
Methods inherited from class net.beadsproject.beads.analysis.FeatureExtractor |
---|
getFeatures, getName, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Power()
Method Detail |
---|
public java.lang.String[] getFeatureDescriptions()
FeatureExtractor
getFeatureDescriptions
in class FeatureExtractor<float[],float[]>
public int getNumberOfFeatures()
FeatureExtractor
getNumberOfFeatures
in class FeatureExtractor<float[],float[]>
public void setNumberOfFeatures(int numFeatures)
FeatureExtractor
setNumberOfFeatures
in class FeatureExtractor<float[],float[]>
numFeatures
- the new number of features.public void process(float[] audioData)
FeatureExtractor
process
in class FeatureExtractor<float[],float[]>
audioData
- the data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |