pitchtools.suggest_clef — Abjad v1.1.1 documentation

### Navigation

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

# pitchtools.suggest_clef

`abjad.tools.pitchtools.` `suggest_clef`(pitches, clefs=[, 'treble', 'bass'])

  Suggest best clef for pitches determined by the least number of leger lines required to notate all pitches on a single staff.

      abjad> pitches = [Pitch(x) for x in (-30, 10, 20)]
      abjad> pitchtools.suggest_clef(pitches)
      Clef('bass')

      abjad> pitches = [Pitch(x) for x in (-5, 30)]
      abjad> pitchtools.suggest_clef(pitches)
      Clef('treble')

### Navigation

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