Filters

Filter bank construction

dct(n_filters, n_input) Discrete cosine transform (DCT type-III) basis.
mel(sr, n_fft[, n_mels, fmin, fmax, htk]) Create a Filterbank matrix to combine FFT bins into Mel-frequency bins
chroma(sr, n_fft[, n_chroma, A440, ctroct, ...]) Create a Filterbank matrix to convert STFT to chroma
constant_q(sr[, fmin, n_bins, ...]) Construct a constant-Q basis.

Miscellaneous

constant_q_lengths(sr, fmin[, n_bins, ...]) Return length of each filter in a constant-Q basis.
cq_to_chroma(n_input[, bins_per_octave, ...]) Convert a Constant-Q basis to Chroma.
window_bandwidth(window[, default]) Get the bandwidth of a window function.

Deprecated

logfrequency(sr, n_fft[, n_bins, ...]) Approximate a constant-Q filter bank for a fixed-window STFT.