pitchtools.apply_octavation — Abjad v1.1.1 documentation

### Navigation

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

# pitchtools.apply_octavation

`abjad.tools.pitchtools.` `apply_octavation`(expr, ottava_altitude=None, quindecisima_altitude=None)

  New in version 1.1.1.

  Apply `Octavation` to expr dependent on the altitude of the maximum pitch in expr.

      abjad> t = RigidMeasure((4, 8), construct.notes([24, 26, 27, 29], [(1, 8)]))
      abjad> pitchtools.apply_octavation(t, ottava_altitude = 14)
      Octavation(|4/8, c'''8, d'''8, ef'''8, f'''8|)

      abjad> print t.format
         \time 4/8
         \ottava #1
         c'''8
         d'''8
         ef'''8
         f'''8
         \ottava #0

### Navigation

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