musicaiz.features._order_note_seq_by_chromatic_idx

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

Sorts a note seq (list of note objects) by the index of the notes in the chromatic scale.

Parameters
notes: List[Note]

A list of musicaiz Note() objects.

Returns
sorted_note_seq: List[int]

Sorts the positions of the notes in the chromatic scale.