Note Pitch values

Updated 13 years ago
This page shows old instructions for MuseScore 1.
For MuseScore 4 users, see Note Pitch values.

Note pitches are internally expressed with their respective MIDI pitch values. This corresponds to the absolute height of the note, regardless of the way it is actually written (enharmony; to retrieve the actual enharmony employed for a note, uses its Tonal Pitch Class enum instead).
The pitch is used by the following property:
  Note Object .pitch

Note Pitch Values

Note \ Octave -1 0 1 2 3  
C 0 12 24 36 48  
C# 1 13 25 37 49  
D 2 14 26 38 50  
D# 3 15 27 39 51  
E 4 16 28 40 52  
F 5 17 29 41 53  
F# 6 18 30 42 54  
G 7 19 31 43 55  
G# 8 20 32 44 56  
A 9 21 33 45 57  
A# 10 22 34 46 58  
B 11 23 35 47 59  
Note \ Octave 4 5 6 7 8 9
C 60 (middle C) 72 84 96 108 120
C# 61 73 85 97 109 121
D 62 74 86 98 110 122
D# 63 75 87 99 111 123
E 64 76 88 100 112 124
F 65 77 89 101 113 125
F# 66 78 90 102 114 126
G 67 79 91 103 115 127
G# 68 80 92 104 116 --
A 69 81 93 105 117 --
A# 70 82 94 106 118 --
B 71 83 95 107 119 --