dcase_util.features.SpectralFeatureExtractor.extract

SpectralFeatureExtractor.extract(y)[source]

Extract features for the audio signal.

Parameters
yAudioContainer or numpy.ndarray [shape=(n,)]

Audio signal

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

spectrum