dcase_util.features.SpectralCentroidExtractor.extract

SpectralCentroidExtractor.extract(y)[source]

Extract features for the audio signal.

Parameters
ynumpy.ndarray [shape=(n,)]

Audio signal

Returns
numpy.ndarray [shape=(1, t)]

spectral centroid