public class Power extends FeatureExtractor<java.lang.Float,float[]>
featureDescriptions, features, name, numFeatures
Constructor and Description |
---|
Power()
Instantiates a new Power.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getFeatureDescriptions()
Gets the feature descriptions.
|
int |
getNumberOfFeatures()
Gets the number of features.
|
void |
process(TimeStamp startTime,
TimeStamp endTime,
float[] audioData)
Process some data of type P (specified by the class def).
|
void |
setNumberOfFeatures(int numFeatures)
Sets the number of features.
|
addListener, forward, getFeatures, getName, removeListener, setName
getKillListener, isDeleted, isPaused, kill, message, messageReceived, pause, setKillListener, start, toString
public java.lang.String[] getFeatureDescriptions()
FeatureExtractor
getFeatureDescriptions
in class FeatureExtractor<java.lang.Float,float[]>
public int getNumberOfFeatures()
FeatureExtractor
getNumberOfFeatures
in class FeatureExtractor<java.lang.Float,float[]>
public void setNumberOfFeatures(int numFeatures)
FeatureExtractor
setNumberOfFeatures
in class FeatureExtractor<java.lang.Float,float[]>
numFeatures
- the new number of features.public void process(TimeStamp startTime, TimeStamp endTime, float[] audioData)
FeatureExtractor
process
in class FeatureExtractor<java.lang.Float,float[]>
audioData
- the data.