antscloud / fretboardgtr

Python package for creating fretboard and chord diagram image in svg format
GNU Affero General Public License v3.0
112 stars 17 forks source link

F# major scale error #33

Open israelptr opened 1 month ago

israelptr commented 1 month ago

When generating the F# major scale, the result is incorrect; the other notes are functioning properly.

from fretboardgtr.fretboard import FretBoard
from fretboardgtr.notes_creators import ScaleFromName
from fretboardgtr.constants import ModeName

fretboard = FretBoard()

major = ScaleFromName(root="F#", mode=ModeName.MAJOR).build()
fretboard.add_notes(scale=major)
fretboard.export("my_fretboard.svg", format="svg")