Skip to main content

verticality_at

Function verticality_at 

Source
pub fn verticality_at(
    stream: &Stream,
    offset: FloatType,
) -> Vec<(usize, Vec<StreamElement>)>
Expand description

What is sounding or standing in each part at an offset, part by part: music21’s getVerticalityFromObject, asked by offset since a stream here owns its notes and an offset is what says where one is.

A thing counts if it starts there or is still going, and a thing of no length counts where it stands. Parts holding nothing there are left out, so each answer carries the index of its part.