tonal_lower_of

tonal_lower_of(x: tuple[int, ...], y: tuple[int, ...])

Returns the lower pitch

Examples

>>> tonal_lower_of((0,0,0), (0,11,-1))
(0, 11, -1)
>>> tonal_lower_of((0,1,0),(0,10,0))
(0, 10, 0)

The result is always one of the arguments, as given:

>>> tonal_lower_of((6, 0), (6, 0))
(6, 0)

On an enharmonic tie the lower diatonic position wins:

>>> tonal_lower_of((6, 0, -1), (0, 0, 0)) # B-sharp 3, C4
(6, 0, -1)