pitchtools.diatonic_to_chromatic — Abjad v1.1.1 documentation

### Navigation

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

# pitchtools.diatonic_to_chromatic

`abjad.tools.pitchtools.` `diatonic_to_chromatic`(num, transpose=0, phase=0)
  Map diatonic scale degree to chromatic scale degree. Defaults to the white keys on the piano, Ionian mode. Scale degrees are 0-indexed. 0 –> 0 1 –> 2 2 –> 4 3 –> 5 4 –> 7 etc.

### Navigation

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