pub fn notes_to_events<D: MIDINum, N: MIDINote<D>, Err>(
iter: impl Iterator<Item = Result<N, Err>> + Sized,
) -> impl Iterator<Item = Result<Delta<D, Event>, Err>>
Expand description
Takes a note iterator and converts it to a note event iterator. Effectively flattening the notes into an event sequence.