append_spacer_skip_to_underfull_measure

scoretools.append_spacer_skip_to_underfull_measure(measure)

Append spacer skip to underfull measure:

>>> measure = Measure((4, 12), "c'8 d'8 e'8 f'8")
>>> measure.implicit_scaling = True
>>> detach(TimeSignature, measure)
(TimeSignature((4, 12)),)
>>> new_time_signature = TimeSignature((5, 12))
>>> attach(new_time_signature, measure)
>>> measure.is_underfull
True
>>> scoretools.append_spacer_skip_to_underfull_measure(measure)
Measure((5, 12), "c'8 d'8 e'8 f'8 s1 * 1/8", implicit_scaling=True)

Append nothing to nonunderfull measure.

Return measure.