Skip to main content

unit_norm_step

Function unit_norm_step 

Source
pub fn unit_norm_step(
    step: FloatType,
    a: FloatType,
    b: FloatType,
    normalized: bool,
) -> Result<Vec<FloatType>>
Expand description

The values a step of step reaches from a to b inclusive, either as they are or normalized onto the unit interval: music21’s unitNormStep. A range of no width answers nothing; a step of no width cannot cross one and is an error.