Tonal Pitch Class enum

5年前更新

The Tonal Pitch Class (tpc) is used to differentiate among notes with the same MIDI pitch but with different representation (also covering enharmony). The tpc is used by several objects properties:
  Harmony Object .base
  Harmony Object .root
  Note Object .tpc

Tonal Pitch Classes in numeric order

-1 Fbb   6 Fb   13 F   20 F#   27 F##
0 Cbb   7 Cb   14 C   21 C#   28 C##
1 Gbb   8 Gb   15 G   22 G#   29 G##
2 Dbb   9 Db   16 D   23 D#   30 D##
3 Abb   10 Ab   17 A   24 A#   31 A##
4 Ebb   11 Eb   18 E   25 E#   32 E##
5 Bbb   12 Bb   19 B   26 B#   33 B##

Tonal Pitch Classes in pitch order

11   31 A##   19 B   7 Cb
10   24 A#   12 Bb   0 Cbb
9   29 G##   17 A   5 Bbb
8   22 G#         10 Ab
7   27 F##   15 G   3 Abb
6   32 E##   20 F#   8 Gb
5   25 E#   13 F   1 Gbb
4   30 D##   18 E   6 Fb
3   23 D#   11 Eb   -1 Fbb
2   28 C##   16 D   4 Ebb
1   33 B##   21 C#   9 Db
0   26 B#   14 C   2 Dbb