Skip to content

Commit

Permalink
Penality for note spelling is incorrect for Ab (4 flats)
Browse files Browse the repository at this point in the history
Backport of musescore#5257
  • Loading branch information
Jojo-Schmitz committed Jan 20, 2025
1 parent d875209 commit 562c990
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libmscore/pitchspelling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
// algorithmus from Emilios Cambouropoulos as published in:
// "Automatic Pitch Spelling: From Numbers to Sharps and Flats"

#include "note.h"
#include "chord.h"
#include "key.h"
#include "note.h"
#include "part.h"
#include "pitchspelling.h"
#include "staff.h"
#include "chord.h"
#include "score.h"
#include "part.h"
#include "staff.h"
#include "utils.h"

#include "audio/midi/event.h"
Expand Down Expand Up @@ -432,7 +432,7 @@ static const int enharmonicSpelling[15][34] = {
//As f c g d a e b
1, 1, 1, 1, 1, 1, // bb
1, 1, 0, 0, 0, 0, 0, // b
0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, // #
1, 1, 1, 1, 1, 1, 1 // ##
},
Expand Down

0 comments on commit 562c990

Please sign in to comment.