Skip to main content

substitution_cost

Function substitution_cost 

Source
pub fn substitution_cost(target: &NoteHash, source: &NoteHash) -> i64
Expand description

What it costs to turn one note’s hash into another’s: music21’s substitutionCost – nothing where the two say the same, otherwise how many of the values differ.