Skip to main content

qualia_audio/features/mel/
mod.rs

1//! Mel / MFCC / DCT / Bark / ERB psychoacoustic features.
2//!
3//! The **real** triangular filterbanks (this module) replace the fake linear-band
4//! "log_mel" averaging in `stft_stream.rs`. Banks are precomputed once into a
5//! caller-owned weight table ([`build_mel_bank`] / [`build_bark_bank`] /
6//! [`build_erb_bank`]) and applied allocation-free per frame ([`mel_bands()`],
7//! [`mfcc()`], [`bfcc()`], [`gfcc()`]). Re-exports only.
8
9pub mod bark_bank;
10pub mod bfcc;
11pub mod dct;
12pub mod erb_bank;
13pub mod gfcc;
14pub mod hz_mel;
15pub mod mel_bands;
16pub mod mel_bank;
17pub mod mel_to_hz;
18pub mod mfcc;
19
20pub use bark_bank::build_bark_bank;
21pub use bfcc::bfcc;
22pub use dct::dct2;
23pub use erb_bank::build_erb_bank;
24pub use gfcc::gfcc;
25pub use hz_mel::hz_to_mel;
26pub use mel_bands::mel_bands;
27pub use mel_bank::build_mel_bank;
28pub use mel_to_hz::mel_to_hz;
29pub use mfcc::mfcc;