Features

Classes for feature extraction.

FeatureExtractor

dcase_util.features.FeatureExtractor

FeatureExtractor([fs, win_length_samples, ...])

Feature extractor base class

SpectralFeatureExtractor

dcase_util.features.SpectralFeatureExtractor

SpectralFeatureExtractor([spectrogram_type, ...])

Spectral feature extractor base class

SpectralFeatureExtractor.extract(y)

Extract features for the audio signal.

SpectralFeatureExtractor.get_window_function(n)

Window function

SpectralFeatureExtractor.get_spectrogram(y)

Spectrogram

MelExtractor

dcase_util.features.MelExtractor

MelExtractor([fs, win_length_samples, ...])

Feature extractor class to extract mel band energy features

MelExtractor.extract(y)

Extract features for the audio signal.

MfccStaticExtractor

dcase_util.features.MfccStaticExtractor

MfccStaticExtractor([fs, ...])

Feature extractor class to extract static MFCC features

MfccStaticExtractor.extract(y)

Extract features for the audio signal.

MfccDeltaExtractor

dcase_util.features.MfccDeltaExtractor

MfccDeltaExtractor([fs, win_length_samples, ...])

Feature extractor class to extract MFCC delta features

MfccDeltaExtractor.extract(y)

Extract features for the audio signal.

MfccAccelerationExtractor

dcase_util.features.MfccAccelerationExtractor

MfccAccelerationExtractor([fs, ...])

Feature extractor class to extract MFCC acceleration features

MfccAccelerationExtractor.extract(y)

Extract features for the audio signal.

ZeroCrossingRateExtractor

dcase_util.features.ZeroCrossingRateExtractor

ZeroCrossingRateExtractor([fs, ...])

Feature extractor class to extract zero crossing rate features

ZeroCrossingRateExtractor.extract(y)

Extract features for the audio signal.

RMSEnergyExtractor

dcase_util.features.RMSEnergyExtractor

RMSEnergyExtractor([fs, win_length_samples, ...])

Feature extractor class to extract Root-mean-square energy features

RMSEnergyExtractor.extract(y)

Extract features for the audio signal.

SpectralCentroidExtractor

dcase_util.features.SpectralCentroidExtractor

SpectralCentroidExtractor([fs, ...])

Feature extractor class to extract Centroid features

SpectralCentroidExtractor.extract(y)

Extract features for the audio signal.

EmbeddingExtractor

dcase_util.features.EmbeddingExtractor

EmbeddingExtractor(**kwargs)

Embedding extractor base class

OpenL3Extractor

dcase_util.features.OpenL3Extractor

OpenL3Extractor([fs, hop_length_samples, ...])

OpenL3 Embedding extractor class

OpenL3Extractor.extract(y)

Extract features for the audio signal.

TorchOpenL3Extractor

dcase_util.features.TorchOpenL3Extractor

TorchOpenL3Extractor([fs, ...])

TorchOpenL3 Embedding extractor class

TorchOpenL3Extractor.extract(y)

Extract features for the audio signal.

EdgeL3Extractor

dcase_util.features.EdgeL3Extractor

EdgeL3Extractor([fs, hop_length_samples, ...])

EdgeL3 Embedding extractor class

EdgeL3Extractor.extract(y)

Extract features for the audio signal.