librosax.feature¶
Feature extraction¶
Spectral features¶
|
Compute the spectral centroid. |
|
Compute p'th-order spectral bandwidth. |
|
Compute roll-off frequency. |
|
Compute spectral flatness. |
|
Compute spectral contrast. |
|
Compute root-mean-square (RMS) value for each frame. |
|
Compute the zero-crossing rate of an audio time series. |
Mel-frequency representations¶
|
Compute a mel-scaled spectrogram. |
|
Compute Mel-frequency cepstral coefficients (MFCCs). |
Chromagram¶
|
Compute a chromagram from a power spectrogram or waveform. |
|
Chromagram from a constant-Q transform. |
|
Create a chroma filter bank. |
Constant-Q transform¶
|
Compute the constant-Q transform following nnAudio's CQT1992v2 implementation. |
|
Compute constant-Q transform using the 2010 algorithm with multi-resolution. |
|
Compute the center frequencies of Constant-Q bins. |
Tonal features¶
|
Compute the tonal centroid features (tonnetz). |
Pitch and frequency¶
|
Convert frequencies (Hz) to octave numbers. |
Convert one or more note names to frequency (Hz). |