New in version 1.1.
Changed pentatonic_scale_degree number to chromatic pitch number:
abjad> for pentatonic_scale_degree in range(9): # doctest: +SKIP
... chromatic_pitch_number = pitchtools.pentatonic_pitch_number_to_chromatic_pitch_number(pentatonic_scale_degree)
... print '%s\t%s' % (pentatonic_scale_degree, chromatic_pitch_number)
...
0 1
1 3
2 6
3 8
4 10
5 13
6 15
7 18
8 20
Pentatonic scale degrees may be negative:
abjad> for pentatonic_scale_degree in range(-1, -9, -1): # doctest: +SKIP
... chromatic_pitch_number = pitchtools.pentatonic_pitch_number_to_chromatic_pitch_number(pentatonic_scale_degree)
... print '%s\t%s' % (pentatonic_scale_degree, chromatic_pitch_number)
...
-1 -2
-2 -4
-3 -6
-4 -9
-5 -11
-6 -14
-7 -16
-8 -18
Return integer.
Changed in version 2.0: renamed pitchtools.pentatonic_to_chromatic() to pitchtools.pentatonic_pitch_number_to_chromatic_pitch_number().