notationsCanMerge

maelzel.scoring.notationsCanMerge(n0, n1)[source]

Returns True if n0 and n1 can be merged

Two Notations can merge if the resulting duration is regular. A regular duration is one which can be represented via one notation (a quarter, a half, a dotted 8th, a double dotted 16th are all regular durations, 5/8 of a quarter is not)

Return type:

bool