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