Main Page Packages Class Hierarchy Compound List File List Compound Members
disgraced.TimeCentroid Class Reference
Inheritance diagram for disgraced.TimeCentroid:
[legend]Collaboration diagram for disgraced.TimeCentroid:
[legend]List of all members.
Detailed Description
A simple feature calculation that computes the centroid in time of a given chunk.
This might be useful in seeing where a chunk is localized in time (e.g. a stationary sinusoid will have a TimeCentroid of .5, but a drum hit with a fast decay will have a TimeCentroid closer to 0), or to test an OnsetDetector.
- Author:
-
Ron Weiss ([email protected])
Definition at line 38 of file TimeCentroid.java.
|
Public Methods |
double[] | features (STFT stft, long startFrame, int length) |
| Extract features from a chunk of STFT data.
|
String | description () |
| Returns a short string describing what this feature extractor does.
|
The documentation for this class was generated from the following file:
Generated on Tue Feb 6 19:02:35 2007 for MEAPsoft by
1.2.18