This commit is contained in:
2026-04-19 02:05:29 +02:00
parent f3ccb55570
commit 3dc2e4d3d5

View File

@@ -85,6 +85,15 @@ class BassAnalyzer:
Rhythm analysis from songs. Rhythm analysis from songs.
Provides a beat amplitude signal from the audio signal. Provides a beat amplitude signal from the audio signal.
Performs short-time Continuous Wavelet Transform on the signal,
with log-spaced frequencies.
This allows a fine-grained resolution of very low frequencies,
as opposed to an STFT where frequency resolution
would be limited by its window size.
Then, we perform Viterbi decoding to find the highest-power frequency at each window.
References: References:
* Cheng, Hart and Walker 2009: Time-frequency Analysis of Musical Rhythm * Cheng, Hart and Walker 2009: Time-frequency Analysis of Musical Rhythm
* Smith 2000: A Multiresolution Time-Frequency Analysis And Interpretation of Musical Rhythm * Smith 2000: A Multiresolution Time-Frequency Analysis And Interpretation of Musical Rhythm