Pitch token input — Abjad v1.1.1 documentation

### Navigation

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

# Pitch token input

Abjad notes and chords accept all of the following as pitch input:

1. Python int and long instances
2. Python float instances
3. Abjad `Pitch` instances

For example:

    abjad> note = Note(0, (1, 4))

And:

    abjad> note = Note(5.5, (1, 4))

And:

    abjad> note = Note(Pitch(13), (1, 4))

The Abjad pitch token generalizes these four types of input.

Examples in the documentation that ask for valid pitch token input accept any of the types of input show here.

Note

Abjad accepts only those `float` instances evenly divisible by 0.5 as valid pitch token instances because Abjad implements accidental drawing symbols to the level of the quartertone only.

### Navigation

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