Skip to main content

quarter_length_estimation

Function quarter_length_estimation 

Source
pub fn quarter_length_estimation(
    lengths: &[usize],
    most_repeated_quarter_length: FloatType,
) -> Result<FloatType>
Expand description

How many pitches a quarter note lasts, from how many each note lasted: the middle of the last of the fullest bins of an eight-bin histogram of the lengths and nought, taken as most_repeated_quarter_length (a quarter where nought): music21’s quarterLengthEstimation.

§Errors

As histogram.