Table of Contents

Enum SpectralFeatureType

Namespace
AiDotNet.Audio.Features
Assembly
AiDotNet.dll

Types of spectral features that can be extracted.

[Flags]
public enum SpectralFeatureType

Fields

All = Basic | Contrast | ZeroCrossingRate

All available features.

Bandwidth = 2

Spectral bandwidth (spread around centroid).

Basic = Centroid | Bandwidth | Rolloff | Flux | Flatness

All basic features (centroid, bandwidth, rolloff, flux, flatness).

Centroid = 1

Spectral centroid (center of mass of spectrum).

Contrast = 32

Spectral contrast (difference between peaks and valleys in sub-bands).

Flatness = 16

Spectral flatness (noisiness vs tonality).

Flux = 8

Spectral flux (frame-to-frame spectral change).

None = 0

No features.

Rolloff = 4

Spectral rolloff (frequency below which most energy is concentrated).

ZeroCrossingRate = 64

Zero crossing rate (sign change frequency).