Skip to main content

auto_correlation_best_measure

Function auto_correlation_best_measure 

Source
pub fn auto_correlation_best_measure(score: Stream) -> Result<(usize, usize)>
Expand description

How many measures not flagged have their rhythm somewhere else – in another measure of their part, or at the same place in another part – out of how many there are: music21’s autoCorrelationBestMeasure, as (measures, matches).

§Errors

As ScoreCorrector::new and ScoreCorrector::find_incorrect_measures, or parts of different lengths where music21 runs out of measures.