]> git.cworth.org Git - scherzo/commitdiff
Add sus (sus4) versions of the ninth chords.
authorCarl Worth <cworth@cworth.org>
Thu, 26 Sep 2013 03:01:20 +0000 (20:01 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 26 Sep 2013 03:01:20 +0000 (20:01 -0700)
As I was reading about 11th chords here:

http://en.wikipedia.org/wiki/Chord_notation#11ths

I noticed that an 11th chord voiced without a 3rd becomes a 9sus4
chord. So let's recognize those.

scherzo.c

index f30bfe40fbe72e1b4cbd0a9805fc49c42862d119..522f369e420ccefa29e181a29a85616fb3d10ba7 100644 (file)
--- a/scherzo.c
+++ b/scherzo.c
@@ -700,6 +700,8 @@ scherzo_analyze_chord (scherzo_t *scherzo)
        { {{1, 0}, {2,  0}, {5, -1}, {7, -1}}, "msus2𝆩" SUP "7" PUS },
        { {{1, 0}, {2,  0}, {5, -1}, {7, -2}}, "msus2°" SUP "7" PUS },
        /* Ninth chords voiced with no 5th */
+       { {{1, 0}, {9,  0}, {4,  0}, {7,  0}}, "sus" SUP "M9" PUS },
+       { {{1, 0}, {9,  0}, {4,  0}, {7, -1}}, "sus" SUP "9" PUS },
        { {{1, 0}, {9,  0}, {3,  0}, {7,  0}}, "M9" },
        { {{1, 0}, {9,  0}, {3,  0}, {7, -1}}, "9" },
        { {{1, 0}, {9,  0}, {3, -1}, {7,  0}}, "m" SUP "M9" PUS },
@@ -711,6 +713,11 @@ scherzo_analyze_chord (scherzo_t *scherzo)
      * after reducing each degree to an actual scale degree, (9 -> 2,
      * 11 -> 4, 13 -> 6) */
     struct { modified_degree_t degrees[5]; const char *name; } pentachords[] = {
+       { {{1, 0}, {9,  0}, {4,  0}, {5, +1}, {7,  0}}, "sus" SUP "+M9" PUS },
+       { {{1, 0}, {9,  0}, {4,  0}, {5, +1}, {7, -1}}, "sus" SUP "+9" PUS },
+       { {{1, 0}, {9,  0}, {4,  0}, {5,  0}, {7,  0}}, "sus" SUP "M9" PUS },
+       { {{1, 0}, {9,  0}, {4,  0}, {5,  0}, {7, -1}}, "sus" SUP "9" PUS },
+
        { {{1, 0}, {9,  0}, {3,  0}, {5, +1}, {7,  0}}, SUP "+M9" PUS },
        { {{1, 0}, {9,  0}, {3,  0}, {5, +1}, {7, -1}}, SUP "+9" PUS },
        { {{1, 0}, {9,  0}, {3,  0}, {5,  0}, {7,  0}}, "M9" },