musicaiz.features.get_novelty_func¶
- musicaiz.features.get_novelty_func(ssm: numpy.ndarray, is_normalized: bool = True) numpy.ndarray [source]¶
Computes the novelty function of a SSM.
- Parameters
- ssm: np.ndarray [shape=(n_bars, n_bars)]
The SSM.
- is_normalized: bool
Normalizes the Novelty curve. Defaults is True.
- Returns
- c: np.ndarray [shape=(n_bars,)]
The normalized novelty function as a 1D array.