pub fn insert_cost(hash: &NoteHash) -> i64
What it costs to put a note in that the source has not got: music21’s insertCost, which is how many values the hash says.
insertCost