diff --git a/backend/src/models/composition.py b/backend/src/models/composition.py index a22df6e..62e5abe 100644 --- a/backend/src/models/composition.py +++ b/backend/src/models/composition.py @@ -4,17 +4,24 @@ tones: dict[str, int] = { "C": 0, - "C#": 1, "Db": 1, + "C#": 1, + "Db": 1, "D": 2, - "D#": 3, "Eb": 3, + "D#": 3, + "Eb": 3, "E": 4, "F": 5, - "F#": 6, "Gb": 6, + "F#": 6, + "Gb": 6, "G": 7, - "G#": 8, "Ab": 8, + "G#": 8, + "Ab": 8, "A": 9, - "A#": 10, "Bb": 10, "Hb": 10, - "B": 11, "H": 11, + "A#": 10, + "Bb": 10, + "Hb": 10, + "B": 11, + "H": 11, } chromatic_scale = "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"