musicaiz.features.self_similarity_single_measure¶
- musicaiz.features.self_similarity_single_measure(file: Union[musicaiz.loaders.Musa, str, TextIO, pathlib.Path], measure: str) numpy.ndarray [source]¶
Computes the SSM with the selected measure for all the bars.
- Parameters
- file: Union[Musa, str, TextIO, Path]
A file or a musicaiz
Musa()
object.- measure: str
The measure or feature used to compute the SSM.
- Returns
- s: np.ndarray [shape=(n_bars, n_bars)]
The SSM computed from the selected measure.