Skip to main content

Module gfcc

Module gfcc 

Source
Expand description

gfcc — Gammatone-Frequency Cepstral Coefficients: ERB/gammatone bank → log → DCT-II.

Same cepstral core as super::mfcc::mfcc, driven by an ERB (gammatone-ish) bank built with super::erb_bank::build_erb_bank. GFCCs are the noise-robust auditory cousin of MFCCs; here they share the MFCC pipeline (bank → ln → DCT-II) rather than duplicating it.

Functions§

gfcc
Compute the first n_coeffs gammatone cepstral coefficients of one power-spectrum frame. erb_weights is an n_bands × n_fft_bins bank from super::erb_bank::build_erb_bank. See super::mfcc::mfcc for buffer requirements (out ≥ n_coeffs, scratch ≥ 2 * n_bands).