Caution
You're reading an old version of this documentation. If you want up-to-date information, please have a look at 0.9.1.
librosa.core.fourier_tempo_frequencies¶
- librosa.core.fourier_tempo_frequencies(sr=22050, win_length=384, hop_length=512)[source]¶
Compute the frequencies (in beats per minute) corresponding to a Fourier tempogram matrix.
- Parameters
- srnumber > 0
The audio sampling rate
- win_lengthint > 0
The number of frames per analysis window
- hop_lengthint > 0
The number of samples between each bin
- Returns
- bin_frequenciesndarray [shape=(win_length // 2 + 1 ,)]
vector of bin frequencies measured in BPM.
Examples
Get the tempo frequencies corresponding to a 384-bin (8-second) tempogram
>>> librosa.fourier_tempo_frequencies(384) array([ 0. , 0.117, 0.234, ..., 22.266, 22.383, 22.5 ])