Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-baca committed Oct 5, 2024
1 parent cc25bd5 commit 703ff36
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions backend/src/models/composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 703ff36

Please sign in to comment.