Skip to main content

notes_of_list

Function notes_of_list 

Source
pub fn notes_of_list(
    list: &NoteList,
    default: Velocity,
) -> Result<Vec<RenderNote>, RenderError>
Expand description

The render notes of a note list, such as the one the MIDI reader gives. A note without a velocity takes default.

ยงErrors

Returns a RenderError for a pitch that is not a whole key.