Skip to main content

division_options_algo

Function division_options_algo 

Source
pub fn division_options_algo(
    numerator: UnsignedIntegerType,
    denominator: UnsignedIntegerType,
) -> Vec<Vec<String>>
Expand description

The ways music21 divides a meter, in the order it prefers them, each once: music21’s divisionOptionsAlgo.

The order is the behaviour, not decoration: super::MeterTerminal::partitioned_by_count takes the first option of the right length, so these pieces are composed in the same sequence music21 composes them in.