pitchtools.add_staff_spaces — Abjad v1.1.1 documentation

### Navigation

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

# pitchtools.add_staff_spaces

`abjad.tools.pitchtools.` `add_staff_spaces`(pitch, staff_spaces)

  Return diatonic integer scale degree from `1` to `7` corresponding to `pitch` transposed by integer number of `staff_spaces`.

  - `pitch`: any Abjad `Pitch` instance.
  - `staff_spaces`: any integer.

      abjad> pitch = Pitch(13)
      abjad> pitch.degree
      1

      abjad> pitchtools.add_staff_spaces(pitch, 0)
      1

      abjad> pitchtools.add_staff_spaces(pitch, 1)
      2

      abjad> pitchtools.add_staff_spaces(pitch, 2)
      3

### Navigation

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