]> git.cworth.org Git - scherzo/blobdiff - scherzo.c
Fix bug preventing recognition of m6/9 and add m6/♭9
[scherzo] / scherzo.c
index 95890bc2500e861bc942233a254a06498dd0ed4d..5c24a543baaf4e4f63a38d304fabacfd57f8c786 100644 (file)
--- a/scherzo.c
+++ b/scherzo.c
@@ -733,7 +733,8 @@ scherzo_analyze_chord (scherzo_t *scherzo)
     struct { modified_degree_t degrees[5]; const char *name; } pentachords[] = {
        /* Sixth plus 9 */
        { {{1, 0}, {9,  0}, {3,  0}, {5,  0}, {6,  0}}, "6/9" },
-       { {{1, 0}, {9,  0}, {3,  0}, {5,  0}, {6,  0}}, "m6/9" },
+       { {{1, 0}, {9,  0}, {3, -1}, {5,  0}, {6,  0}}, "m6/9" },
+       { {{1, 0}, {9, -1}, {3, -1}, {5,  0}, {6,  0}}, "m6/♭9" },
        /* Seventh plus altered 9 */
        { {{1, 0}, {9, +1}, {3,  0}, {5,  0}, {7, -1}}, "7♯9" },
        { {{1, 0}, {9, -1}, {3,  0}, {5,  0}, {7, -1}}, "7♭9" },