musicaiz.eval.get_eval_measures

musicaiz.eval.get_eval_measures(notes: List[musicaiz.structure.notes.Note], measures: List[str] = ['PC', 'PCH', 'PR', 'PCTM', 'PI', 'NC', 'IOI', 'NLH', 'NLTM']) Dict[str, Union[int, numpy.array]][source]

Computes the features used to evaluate music.

Parameters
notes: List[Note]
measures: List[str]

The measures that we want to compute. Ex.: [“PC, “PR”]

Returns
measures_dict: Dict[str, Union[int, np.array]]

Each measure stores in a dict which keys are the measures’ capitals.