Tonal Pitch Class.
A3 has a pitch of 57, as does Bbb and Gx but they have different TPCs - 17, 5, 29. MIDI only needs the pitch to play back but notation software needs the TPC to indicate the printed note properly.
These represent the pitch of the note taking enharmonics into account (eg, C# is different from Db). The values are defined in the MuseScore source. See https://github.com/musescore/MuseScore/blob/master/doc/tpc.md for a human-readable version.
Keep in mind that B# belongs to the octave to which its B belongs, not the octave where it seemingly sounds. Ditto C flat. Failure to observe this had been a bug, if I recall, e.g., B#4 is enharmonically C5.
Comments
Tonal Pitch Class.
A3 has a pitch of 57, as does Bbb and Gx but they have different TPCs - 17, 5, 29. MIDI only needs the pitch to play back but notation software needs the TPC to indicate the printed note properly.
These represent the pitch of the note taking enharmonics into account (eg, C# is different from Db). The values are defined in the MuseScore source. See https://github.com/musescore/MuseScore/blob/master/doc/tpc.md for a human-readable version.
In reply to These represent the pitch of… by Marc Sabatella
Keep in mind that B# belongs to the octave to which its B belongs, not the octave where it seemingly sounds. Ditto C flat. Failure to observe this had been a bug, if I recall, e.g., B#4 is enharmonically C5.
Thanks All, that's clarified it. I couldn't relate them to the TAB but now they make sense.