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.

Previous topic

pitchtools.diatonic_scale_degree_to_letter

Next topic

pitchtools.diatonic_transpose

This Page