about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-04-19T18·11+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-04-19T18·11+0100
commitd84d0000e0833b164071fbdd5dab8b6abb6299cf (patch)
tree3d6f8e44221dd11012f586339adbb39675abc8a8
parentae31090a466361f616ca78c685612853ea74d50b (diff)
Correct all G_sharp pitch classes
I incorrectly modelled all of the G-sharps in my application as belonging to the
G pitchClass, which resulted in a strange bug where vieChord printed "G minor
Root position", but the Piano highlit a G minor.

I checked the other accidentals, and it looks like everything is properly
classified.
-rw-r--r--website/sandbox/learnpianochords/src/Theory.elm14
1 files changed, 7 insertions, 7 deletions
diff --git a/website/sandbox/learnpianochords/src/Theory.elm b/website/sandbox/learnpianochords/src/Theory.elm
index 4f89b8c38ffc..7f54832c97a0 100644
--- a/website/sandbox/learnpianochords/src/Theory.elm
+++ b/website/sandbox/learnpianochords/src/Theory.elm
@@ -761,7 +761,7 @@ noteMetadata =
         , { note = F1, label = "F1", pitchClass = F, natural = True }
         , { note = F_sharp1, label = "F♯/G♭1", pitchClass = F_sharp, natural = False }
         , { note = G1, label = "G1", pitchClass = G, natural = True }
-        , { note = G_sharp1, label = "G♯/A♭1", pitchClass = G, natural = False }
+        , { note = G_sharp1, label = "G♯/A♭1", pitchClass = G_sharp, natural = False }
         , { note = A2, label = "A2", pitchClass = A, natural = True }
         , { note = A_sharp2, label = "A♯/B♭2", pitchClass = A_sharp, natural = False }
         , { note = B2, label = "B2", pitchClass = B, natural = True }
@@ -773,7 +773,7 @@ noteMetadata =
         , { note = F2, label = "F2", pitchClass = F, natural = True }
         , { note = F_sharp2, label = "F♯/G♭2", pitchClass = F_sharp, natural = False }
         , { note = G2, label = "G2", pitchClass = G, natural = True }
-        , { note = G_sharp2, label = "G♯/A♭2", pitchClass = G, natural = False }
+        , { note = G_sharp2, label = "G♯/A♭2", pitchClass = G_sharp, natural = False }
         , { note = A3, label = "A3", pitchClass = A, natural = True }
         , { note = A_sharp3, label = "A♯/B♭3", pitchClass = A_sharp, natural = False }
         , { note = B3, label = "B3", pitchClass = B, natural = True }
@@ -785,7 +785,7 @@ noteMetadata =
         , { note = F3, label = "F3", pitchClass = F, natural = True }
         , { note = F_sharp3, label = "F♯/G♭3", pitchClass = F_sharp, natural = False }
         , { note = G3, label = "G3", pitchClass = G, natural = True }
-        , { note = G_sharp3, label = "G♯/A♭3", pitchClass = G, natural = False }
+        , { note = G_sharp3, label = "G♯/A♭3", pitchClass = G_sharp, natural = False }
         , { note = A4, label = "A4", pitchClass = A, natural = True }
         , { note = A_sharp4, label = "A♯/B♭4", pitchClass = A_sharp, natural = False }
         , { note = B4, label = "B4", pitchClass = B, natural = True }
@@ -797,7 +797,7 @@ noteMetadata =
         , { note = F4, label = "F4", pitchClass = F, natural = True }
         , { note = F_sharp4, label = "F♯/G♭4", pitchClass = F_sharp, natural = False }
         , { note = G4, label = "G4", pitchClass = G, natural = True }
-        , { note = G_sharp4, label = "G♯/A♭4", pitchClass = G, natural = False }
+        , { note = G_sharp4, label = "G♯/A♭4", pitchClass = G_sharp, natural = False }
         , { note = A5, label = "A5", pitchClass = A, natural = True }
         , { note = A_sharp5, label = "A♯/B♭5", pitchClass = A_sharp, natural = False }
         , { note = B5, label = "B5", pitchClass = B, natural = True }
@@ -809,7 +809,7 @@ noteMetadata =
         , { note = F5, label = "F5", pitchClass = F, natural = True }
         , { note = F_sharp5, label = "F♯/G♭5", pitchClass = F_sharp, natural = False }
         , { note = G5, label = "G5", pitchClass = G, natural = True }
-        , { note = G_sharp5, label = "G♯/A♭5", pitchClass = G, natural = False }
+        , { note = G_sharp5, label = "G♯/A♭5", pitchClass = G_sharp, natural = False }
         , { note = A6, label = "A6", pitchClass = A, natural = True }
         , { note = A_sharp6, label = "A♯/B♭6", pitchClass = A_sharp, natural = False }
         , { note = B6, label = "B6", pitchClass = B, natural = True }
@@ -821,7 +821,7 @@ noteMetadata =
         , { note = F6, label = "F6", pitchClass = F, natural = True }
         , { note = F_sharp6, label = "F♯/G♭6", pitchClass = F_sharp, natural = False }
         , { note = G6, label = "G6", pitchClass = G, natural = True }
-        , { note = G_sharp6, label = "G♯/A♭6", pitchClass = G, natural = False }
+        , { note = G_sharp6, label = "G♯/A♭6", pitchClass = G_sharp, natural = False }
         , { note = A7, label = "A7", pitchClass = A, natural = True }
         , { note = A_sharp7, label = "A♯/B♭7", pitchClass = A_sharp, natural = False }
         , { note = B7, label = "B7", pitchClass = B, natural = True }
@@ -833,7 +833,7 @@ noteMetadata =
         , { note = F7, label = "F7", pitchClass = F, natural = True }
         , { note = F_sharp7, label = "F♯/G♭7", pitchClass = F_sharp, natural = False }
         , { note = G7, label = "G7", pitchClass = G, natural = True }
-        , { note = G_sharp7, label = "G♯/A♭7", pitchClass = G, natural = False }
+        , { note = G_sharp7, label = "G♯/A♭7", pitchClass = G_sharp, natural = False }
         , { note = C8, label = "C8", pitchClass = C, natural = True }
         ]