From 703ff369663123617261453482e7e60703c866f5 Mon Sep 17 00:00:00 2001 From: vladimir-baca Date: Sat, 5 Oct 2024 21:11:54 +0200 Subject: [PATCH] formatting --- backend/src/models/composition.py | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) 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"