Skip to main content

Module bfcc

Module bfcc 

Source
Expand description

bfcc — Bark-Frequency Cepstral Coefficients: Bark bank → log → DCT-II.

Same cepstral core as super::mfcc::mfcc, driven by a Bark bank built with super::bark_bank::build_bark_bank instead of a mel bank. Kept as a distinct entry point (perceptually a different frequency warping) that reuses the MFCC pipeline rather than duplicating it.

Functions§

bfcc
Compute the first n_coeffs Bark cepstral coefficients of one power-spectrum frame. bark_weights is an n_bands × n_fft_bins bank from super::bark_bank::build_bark_bank. See super::mfcc::mfcc for buffer requirements (out ≥ n_coeffs, scratch ≥ 2 * n_bands); the pipeline is bank → ln → orthonormal DCT-II → first n_coeffs.