]> git.cworth.org Git - scherzo/blobdiff - scherzo.c
Add sus (sus4) versions of the ninth chords.
[scherzo] / 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" },