measuretools.populate — Abjad v1.1.1 documentation

### Navigation

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

# measuretools.populate

`abjad.tools.measuretools.` `populate`(expr, mode, iterctrl=<function <lambda> at 0x88c66bc>)

  Populate each measure in ‘expr’ according to ‘mode’.

  With mode = ‘big-endian’:
    Populate with big-endian series of notes summing to measure.meter.effective.duration.
  With mode = ‘little-endian’:
    Populate with little-endian series of notes summing to measure.meter.effective.duration.
  With mode = ‘meter series’:
    Populate with n total 1/d notes, where n equals measure.meter.effective.numerator, and d equals measure.meter.effective.denominator.
  With mode = ‘skip’:
    Populate with exactly one skip, such that skip.duration.prolated == measure.meter.effective.duration. Remove spanners attaching to measure.
  When mode is None:
    Empty the contents of each measure.

### Navigation

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