pitchtools.are_in_octave_order — Abjad v1.1.1 documentation

### Navigation

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

# pitchtools.are_in_octave_order

`abjad.tools.pitchtools.` `are_in_octave_order`(pcs, pitches)

  True if all pitch-classes in `pcs` appear in octave-relative order in `pitches`.

  - `pcs`: list of numeric pitch-classes.
  - `pitches`: list of numeric pitches.

      abjad> pcs = [2, 7, 10]
      abjad> pitches = [6, 9, 12, 13, 14, 19, 22, 27, 28, 29, 32, 35]
      abjad> pitchtools.are_in_octave_order(pcs, pitches)
      True

  Todo

  extend `pitchtools.are_in_octave_order( )` to work on Abjad `Pitch` instances.

### Navigation

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