diff --git a/VERSION b/VERSION index 09c8883..4844d25 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -2021 June 27 2021 +2021 September 15 2021 diff --git a/doc/CHANGES b/doc/CHANGES index 837e3ba..7792b11 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -14371,7 +14371,11 @@ to continue to case 'c' and causing a different problem when %%MIDI gchord ffbb +September 15 2021 - - +abc2midi bug: +The last fix in June 27 2021 inserting a break introduced a new bug. +The chord associated with the 'b' gchord code was missing. b and f +codes were indistinguishable. Fix: removed the break in the switch +statement for case b: diff --git a/doc/readme.txt b/doc/readme.txt index 3ae6037..57a4051 100644 --- a/doc/readme.txt +++ b/doc/readme.txt @@ -1,7 +1,7 @@ abcMIDI : abc <-> MIDI conversion utilities midi2abc version 3.48 June 27 2021 -abc2midi version 4.59 June 27 2021 +abc2midi version 4.60 September 15 2021 abc2abc version 2.15 May 25 2021 yaps version 1.87 May 25 2021 abcmatch version 1.79 May 25 2021 diff --git a/genmidi.c b/genmidi.c index 7aa3de1..24df6a1 100644 --- a/genmidi.c +++ b/genmidi.c @@ -2412,9 +2412,9 @@ int j; save_note(g_num*len, g_denom, basepitch+fun.base, 8192, fun.chan, fun.vel); else save_note(g_num*len, g_denom, inversion+fun.base, 8192, fun.chan, fun.vel); - }; - break; /* [SS] 2021-06-27 */ -/* There is no break here so the switch statement continues into the next case 'c' */ + } + /* break; * [SS] 2021-06-27 2021-09-15 */ +/* There should not be a break here so the switch statement continues into the next case 'c' */ case 'c': /* do chord with handling of any 'inversion' note */ diff --git a/store.c b/store.c index 5cb36ac..35e546c 100644 --- a/store.c +++ b/store.c @@ -186,7 +186,7 @@ int main() */ -#define VERSION "4.59 June 27 2021 abc2midi" +#define VERSION "4.60 September 15 2021 abc2midi" /* enables reading V: indication in header */ #define XTEN1 1