Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

disgraced.TimeCentroid Class Reference

Inheritance diagram for disgraced.TimeCentroid:

Inheritance graph
Collaboration diagram for disgraced.TimeCentroid:

Collaboration graph
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.

Ron Weiss (

Definition at line 38 of file

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 doxygen1.2.18