diff -Nru abcmidi-20210125/debian/changelog abcmidi-20210221/debian/changelog --- abcmidi-20210125/debian/changelog 2021-01-26 14:15:05.000000000 +0000 +++ abcmidi-20210221/debian/changelog 2021-03-01 19:19:25.000000000 +0000 @@ -1,3 +1,9 @@ +abcmidi (20210221-1) unstable; urgency=medium + + * New upstream version 20210221 + + -- Dennis Braun Mon, 01 Mar 2021 20:19:25 +0100 + abcmidi (20210125-1) unstable; urgency=medium * New upstream version 20210125 diff -Nru abcmidi-20210125/doc/CHANGES abcmidi-20210221/doc/CHANGES --- abcmidi-20210125/doc/CHANGES 2021-01-24 20:49:37.000000000 +0000 +++ abcmidi-20210221/doc/CHANGES 2021-02-21 14:39:05.000000000 +0000 @@ -14086,4 +14086,25 @@ added to the function event_handle_instruction() in store.c. +February 21 2021 + +Abc2midi bug: unfortunately the fix applied to add_missing_repeats +applied on January 21 2021 caused a new problem for single voice files. +For example: + +X: 1 +T: repeat bug +R: jig +M: 6/8 +L: 1/8 +K: G +D |"G" ~G3 GAB |"D"ABA ABd | "G"edd gdB | "D"AGF "G"G2 :: + A | "G"BAB dBd| "Em"ege "G"dBd | gfg "D"aga | "G"bgf g2 :| + +Those files do not contain a VOICE feature, so that the fix results +in the leftrepeat being misplaced. The problem was repaired by +testing the varieable voicesused before searching for the VOICE feature. + + + diff -Nru abcmidi-20210125/doc/readme.txt abcmidi-20210221/doc/readme.txt --- abcmidi-20210125/doc/readme.txt 2021-01-24 20:49:17.000000000 +0000 +++ abcmidi-20210221/doc/readme.txt 2021-02-21 14:42:03.000000000 +0000 @@ -1,7 +1,7 @@ abcMIDI : abc <-> MIDI conversion utilities midi2abc version 3.47 November 01 2020 -abc2midi version 4.47 January 24 2021 +abc2midi version 4.49 February 21 2021 abc2abc version 2.12 October 19 2020 yaps version 1.86 December 10 2020 abcmatch version 1.77 December 10 2020 diff -Nru abcmidi-20210125/store.c abcmidi-20210221/store.c --- abcmidi-20210125/store.c 2021-01-25 21:13:34.000000000 +0000 +++ abcmidi-20210221/store.c 2021-02-21 14:41:19.000000000 +0000 @@ -186,7 +186,7 @@ */ -#define VERSION "4.48 January 25 2021 abc2midi" +#define VERSION "4.49 February 21 2021 abc2midi" /* enables reading V: indication in header */ #define XTEN1 1 @@ -6034,10 +6034,12 @@ leftrepeat = add_leftrepeat_at[i]; k=0; /* [SS] 2021-12-21 */ +if (voicesused) { /* 2021-02-21 */ while (feature[leftrepeat] != VOICE && k < 20) { leftrepeat++; k++; } +} insertfeature(BAR_REP,0,0,0,leftrepeat+1); /* for (j=0;j<=parts;j++) { [SS] 2011-06-06 */ for (j=0;j<26;j++) { /* [SS] 2011-08-03 */ diff -Nru abcmidi-20210125/VERSION abcmidi-20210221/VERSION --- abcmidi-20210125/VERSION 2021-01-25 21:13:51.000000000 +0000 +++ abcmidi-20210221/VERSION 2021-02-21 14:40:31.000000000 +0000 @@ -1,2 +1,2 @@ -2021 January 25 2021 +2021 February 21 2021