1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
# src/features ## Purpose Filterbank (FBank) feature extraction and CMVN normalization for speaker embedding pipelines. ## Surfaces - `FbankConfig` — configuration - `FbankExtractor` — mel-filterbank extractor - `apply_cmvn` — cepstral mean and variance normalization ## Dependencies - `realfft`, `rustfft` — FFT for spectrogram computation ## Invariants - FbankExtractor outputs non-negative mel energies before CMVN. ## Verification ```bash cargo test --lib features ``` ## Notes - Default configuration targets 16kHz audio.