Skip to content

Commit

Permalink
use tpc1 for playback, if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
sammik committed Jul 10, 2023
1 parent f1f5170 commit cf0e237
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/engraving/libmscore/note.cpp
Expand Up @@ -913,7 +913,12 @@ int Note::playingTpc() const
int result = tpc();

if (!concertPitch() && transposition()) {
result = transposeTpc(result);
int tpc1 = this->tpc1();
if (tpc1 == Tpc::TPC_INVALID) {
result = transposeTpc(result);
} else {
result = tpc1;
}
}

int steps = ottaveCapoFret();
Expand Down

0 comments on commit cf0e237

Please sign in to comment.