musicaiz.features.self_similarity_louie

musicaiz.features.self_similarity_louie(file: Union[musicaiz.loaders.Musa, str, TextIO, pathlib.Path]) numpy.ndarray[source]

Computes the SSM with Louie method: https://wlouie1.github.io/MusicPlot/musicplot_paper.pdf

Parameters
file: Union[Musa, str, TextIO, Path]

A file or a musicaiz Musa() object.

Returns
s: np.ndarray [shape=(n_bars, n_bars)]

The SSM computed from the feature_vector.