From 705d9e1f737a2db9fdc615b622bc75204b1bcbee Mon Sep 17 00:00:00 2001 From: sshlien Date: Sun, 22 Dec 2024 15:30:33 -0500 Subject: [PATCH] 2024.12.22 --- VERSION | 2 +- doc/CHANGES | 1 + midi2abc.c | 2 +- store.c | 6 +++--- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index 74ff0ec..df5266a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -December 16 2024 +December 22 2024 diff --git a/doc/CHANGES b/doc/CHANGES index 43bb5c2..59dfc92 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -15485,6 +15485,7 @@ if it cannot match MIDIx with the corresponding MIDIdef. Fix: added a return statement after reporting the problem in event_error(msg). December 16 2024 +December 22 2024 abc2midi: corrections to the sus, sus4, sus2 and sus9 chords provided by Avik Topchyan were incorporated in the function setup_chordnames() into store.c diff --git a/midi2abc.c b/midi2abc.c index fb6983c..d06d0ac 100644 --- a/midi2abc.c +++ b/midi2abc.c @@ -1274,7 +1274,7 @@ int chan, control, value; if (prtime(timeunits)) return; if (control == 6) bend2cents = 8192.0/(100.0*value); /*[SS] 2022-02-12 */ - printf("CntlParm %2d %s = %d\n",chan+1, ctype[control],value); + printf("CntlParm %2d %s = %d %d\n",chan+1, ctype[control],control,value); } diff --git a/store.c b/store.c index be4df03..fecc01c 100755 --- a/store.c +++ b/store.c @@ -186,7 +186,7 @@ int main() */ -#define VERSION "4.96 December 16 2024 abc2midi" +#define VERSION "4.96 December 22 2024 abc2midi" /* enables reading V: indication in header */ #define XTEN1 1 @@ -870,9 +870,9 @@ static void setup_chordnames() addchordname("dim9", 5, list_dim9); addchordname("sus", 3, list_sus); /* [AT] sus is a synonym of sus4 */ - addchordname("sus4", 3, list_sus4); /* [SS] 2015-07-08 [AT] 2024-12-16 */ + addchordname("sus4", 3, list_sus4); /* [SS] 2015-07-08 [AT] */ addchordname("sus2", 3, list_sus2); /* [SS] 2015-07-08 [AT] 2024-12-16 */ - addchordname("sus9", 3, list_sus9); /* [AT] 2024-12-16 */ + addchordname("sus9", 4, list_sus9); /* [AT] 2024-12-16 2024-12-22*/ addchordname("7sus2", 4, list_7sus9); /* [SS] 2015-07-08 */ addchordname("7sus4", 4, list_7sus4);