musicaiz.features.get_note_classes¶
- musicaiz.features.get_note_classes(notes: List[musicaiz.structure.notes.Note]) Dict[str, int] [source]¶
Counts the total number of different note classes
NoteClassBase()
.- Parameters
- notes: List[Note]
A list of musicaiz
Note()
objects.
- Returns
- note_classes: Dict[str, int]. Format: {“note_name”: counts}
A dict with the feature as a key and the counts as the value.