musicaiz.features.get_note_density

musicaiz.features.get_note_density(notes: List[musicaiz.structure.notes.Note]) int[source]

Counts the total number of onsets in the Instrument.

Parameters
notes: List[Note]

A list of musicaiz Note() objects.

Returns
int

Note onset counts.