set_measure_denominator_and_adjust_numerator

scoretools.set_measure_denominator_and_adjust_numerator(measure, denominator)

Set measure time signature denominator and multiply time signature numerator accordingly:

>>> measure = Measure((3, 8), "c'8 d'8 e'8")
>>> beam = spannertools.Beam()
>>> attach(beam, measure[:])
>>> scoretools.set_measure_denominator_and_adjust_numerator(measure, 16)
Measure((6, 16), "c'8 d'8 e'8")

Leave measure contents unchanged.

Return measure.