Skip to main content

probability_on_substitute

Function probability_on_substitute 

Source
pub fn probability_on_substitute(source: &str, destination: &str) -> FloatType
Expand description

How likely the rhythm source was misread as destination: music21’s getProbabilityOnSubstitute. The longer is cut to the shorter, each character cut an addition or an omission, and the rest compared character by character (probability_from_one_char_sub).