pitchtools.change_default_accidental_spelling — Abjad v1.1.1 documentation

### Navigation

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

# pitchtools.change_default_accidental_spelling

`abjad.tools.pitchtools.` `change_default_accidental_spelling`(spelling='mixed')

  New in version 1.1.1.

  Change default accidental spelling.

      abjad> [Note(13, (1, 4)), Note(15, (1, 4))]
      [Note(cs'', 5), Note(ef'', 5)]

      abjad> pitchtools.change_default_accidental_spelling('sharps')
      abjad> [Note(13, (1, 4)), Note(15, (1, 4))]
      [Note(cs'', 5), Note(ds'', 5)]

      abjad> pitchtools.change_default_accidental_spelling('flats')
      abjad> [Note(13, (1, 4)), Note(15, (1, 4))]
      [Note(df'', 5), Note(ef'', 5)]

  Call with `spelling = 'mixed'` or with empty argument list to revert back to default mixed spelling.

      abjad> pitchtools.change_default_accidental_spelling('mixed')
      abjad> [Note(13, (1, 4)), Note(15, (1, 4))]
      [Note(cs'', 5), Note(ef'', 5)]

### Navigation

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