<font face="Arial, Verdana">@jgagianas: there is a line in .js file:</font>
notesPreferred = ['-', '#', '#', 'b', '#', 'b', '#', '#', 'b', '#', 'b', '#'];
change it to:
<font face="Arial, Verdana">notesPreferred = ['-', '#', '#', 'b', '#', 'b', '#', '#', 'b', '#', '#', '#'];</font>
<br>
The reason for this behavior is the transpose function, and that there is no property for the song, that would define the proper notation of each chord. For example in F# major the proper notation for 3 is A#, but in F major 4 is Bb (or B in the german system). We could code the chord of the song in hidden HTML, like the chords are currently, but I had no time to do it yet. You can manipulate the shown chords by altering the notesPreferred, notesSharp, notesFlat variables. Also adding the green lines would show the original chords, if no transpose is active:
<br>
notesPreferred = ['-', '#', '#', 'b', '#', 'b', '#', '#', 'b', '#', 'b', '#'];
if (transposeValue == 0 ) {
return chord;
} else {
for (i = 0; i <= chordSplit.length - 1; i++) {
...
return transposedChord;
}
}