]> git.notmuchmail.org Git - scherzo/commitdiff
Re-order the signatures array for the seventh chords
authorCarl Worth <cworth@cworth.org>
Wed, 18 Sep 2013 18:22:51 +0000 (11:22 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Sep 2013 18:22:51 +0000 (11:22 -0700)
It seems easier for me to think about these ordered from widest triad
to narrowest, and the from widest seventh to narrowest.

scherzo.c

index ae95d647ff5f393769858b08455f495721afdc30..d7f78fdf6f372ba4b94d5020deeaba4547bea5e7 100644 (file)
--- a/scherzo.c
+++ b/scherzo.c
@@ -484,14 +484,14 @@ scherzo_analyze_chord (scherzo_t *scherzo)
 
     struct { int pitches[4]; const char *name; } sevenths[] = {
        { {0, 4, 8, 11}, "Augmented/major 7" },
+       { {0, 4, 8, 10}, "Augmented 7" },
        { {0, 4, 7, 11}, "Major 7" },
        { {0, 4, 7, 10}, "Dominant 7" },
        { {0, 3, 7, 11}, "Minor/major 7" },
        { {0, 3, 7, 10}, "Minor 7" },
-       { {0, 3, 6, 10}, "Half-diminished 7" },
-       { {0, 3, 6, 9},  "Diminished 7" },
-       { {0, 4, 8, 10}, "Augmented 7" },
        { {0, 3, 6, 11}, "Diminished/major 7" },
+       { {0, 3, 6, 10}, "Half-diminished 7" },
+       { {0, 3, 6, 9},  "Diminished 7" }
     };
 
     if (scherzo->chord) {