Skip to main content

notes_of

Function notes_of 

Source
pub fn notes_of<K: Eq + Hash + Copy>(
    events: &[(u64, NoteMark<K>)],
) -> Vec<TimedNote>
Expand description

Each note-on with the nearest note-off of its key after it, in the order they start: music21’s getNotesFromEvents. A note-on with no note-off after it is dropped.