From 3dc2e4d3d54e050052484fd62416d81781494548 Mon Sep 17 00:00:00 2001 From: David Madl Date: Sun, 19 Apr 2026 02:05:29 +0200 Subject: [PATCH] docs --- rhythm.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rhythm.py b/rhythm.py index b0d84c7..f5cfa60 100644 --- a/rhythm.py +++ b/rhythm.py @@ -85,6 +85,15 @@ class BassAnalyzer: Rhythm analysis from songs. 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: * Cheng, Hart and Walker 2009: Time-frequency Analysis of Musical Rhythm * Smith 2000: A Multiresolution Time-Frequency Analysis And Interpretation of Musical Rhythm