From: Carl Worth Date: Fri, 27 Sep 2013 04:41:52 +0000 (-0700) Subject: Fix bug preventing recognition of m6/9 and add m6/♭9 X-Git-Url: https://git.cworth.org/git?p=scherzo;a=commitdiff_plain;h=3f6802b662f5e8c13fa44ea2e500da722f654a73 Fix bug preventing recognition of m6/9 and add m6/♭9 The line that was supposed to detect m6/9 had an incorrect signature identical to the signature of 6/9 (causing m6/9 to never be recognized). While we're at it, add m6/♭9 as well. --- diff --git a/scherzo.c b/scherzo.c index 95890bc..5c24a54 100644 --- 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" },