Expand description
Self-similarity matrix (SSM) from a per-frame feature matrix.
An SSM is the frames×frames Gram-like matrix S[i,j] = sim(x_i, x_j) where
x_i is the feature vector of frame i. Homogeneous musical sections form
high-similarity square blocks on the diagonal; section boundaries appear as
the seams between blocks. This is the substrate the novelty curve then reads
(contrast the energy-hysteresis heuristic previously in music.rs).
Functions§
- self_
similarity - Compute the cosine self-similarity matrix of a per-frame feature matrix.