From 3f6802b662f5e8c13fa44ea2e500da722f654a73 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 26 Sep 2013 21:41:52 -0700 Subject: [PATCH] =?utf8?q?Fix=20bug=20preventing=20recognition=20of=20m6/9?= =?utf8?q?=20and=20add=20m6/=E2=99=AD9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- scherzo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" }, -- 2.43.0