musicaiz.features.get_pitch_classes¶
- musicaiz.features.get_pitch_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
- pitch_classes: Dict[str, int]. Format: {“pitch”: counts}
A dict with the feature as a key and the counts as the value.