New in version 1.1.
Mutiply contents of measures in expr and scale meter denominators.
Expr may be any Abjad expression. Concentration_pairs a Python list of pairs, each of the form (spin_count, scalar_denominator). Both spin_count and scalar_denominator must be positive integers.
Iterate expr. For every measure in expr, spin measure by the spin_count element in concentration_pair and scale measure by 1/scalar_denominator element in concentration_pair.
Return Python list of transformed measures:
abjad> t = Measure((3, 16), notetools.make_repeated_notes(3, Duration(1, 16)))
abjad> print(measuretools.multiply_contents_of_measures_in_expr_and_scale_meter_denominators(t, [(3, 3)])[0])
|9/48, c'32, c'32, c'32, c'32, c'32, c'32, c'32, c'32, c'32|
abjad> t = Measure((3, 16), notetools.make_repeated_notes(3, Duration(1, 16)))
abjad> print(measuretools.multiply_contents_of_measures_in_expr_and_scale_meter_denominators(t, [(3, 2)])[0])
|9/32, c'32, c'32, c'32, c'32, c'32, c'32, c'32, c'32, c'32|
abjad> t = Measure((3, 16), notetools.make_repeated_notes(3, Duration(1, 16)))
abjad> print(measuretools.multiply_contents_of_measures_in_expr_and_scale_meter_denominators(t, [(3, 1)])[0])
|9/16, c'16, c'16, c'16, c'16, c'16, c'16, c'16, c'16, c'16|
Changed in version 2.0: renamed measuretools.concentrate() to measuretools.multiply_contents_of_measures_in_expr_and_scale_meter_denominators().