metertools.make_best — Abjad v1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »

# metertools.make_best

`abjad.tools.metertools.` `make_best`(duration, denominators=None, factor=None)

  Return new Abjad Meter equal in duration to ‘duration’. Determine meter denominator based on ‘denominators’ or ‘factor’. Take denominator from smallest workable value in ‘denominators’. Or take denominator from smallest workable multiple of ‘factor’.

      >>> metertools.make_best(Rational(3, 2), [5, 6, 7, 8])
      Meter(9, 6)

      >>> metertools.make_best(Rational(3, 2), [4, 8, 16, 32])
      Meter(6, 4)

      >>> metertools.make_best(Rational(3, 2), factor = 5)
      Meter(15, 10)

      >>> metertools.make_best(Rational(3, 2))
      Meter(3, 2)

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »