diff --git a/VERSION b/VERSION index cd6da96..b8ff4ad 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -2022 April 27 2022 +2022 April 28 2022 diff --git a/doc/CHANGES b/doc/CHANGES index 4b9aa09..8010c9c 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -14731,3 +14731,6 @@ Note that the command instrument=cF is not part of the abc standard and abc2svg does not recognize it. +April 28 2022 + +midi2abc: minor change for -stats function diff --git a/doc/readme.txt b/doc/readme.txt index 9410c2e..da193cb 100644 --- a/doc/readme.txt +++ b/doc/readme.txt @@ -1,6 +1,6 @@ abcMIDI : abc <-> MIDI conversion utilities -midi2abc version 3.53 April 06 2022 +midi2abc version 3.54 April 28 2022 abc2midi version 4.72 April 27 2022 abc2abc version 2.16 February 22 2022 yaps version 1.88 February 22 2022 diff --git a/midi2abc.c b/midi2abc.c index 3bf2181..2a7ed10 100644 --- a/midi2abc.c +++ b/midi2abc.c @@ -45,7 +45,7 @@ * based on public domain 'midifilelib' package. */ -#define VERSION "3.53 April 06 2022 midi2abc" +#define VERSION "3.54 April 28 2022 midi2abc" #include /* Microsoft Visual C++ Version 6.0 or higher */ @@ -732,6 +732,7 @@ void stats_pressure(chan,press) int chan, press; { trkdata.pressure[0]++; +trkdata.pressure[chan+1]++; /* [SS] 2022.04.28 */ } void txt_parameter(chan,control,value) @@ -1341,7 +1342,7 @@ void stats_trackend() { trkdata.npulses[tracknum] = Mf_currtime; if (trkdata.npulses[0] < Mf_currtime) trkdata.npulses[0] = Mf_currtime; - output_track_summary(); + output_track_summary(); } @@ -1426,7 +1427,7 @@ int chan, pitch, press; char *key; if (prtime(timeunits)) return; key = pitch2key(pitch); - printf("Channel Pressure %2d %3s %3d\n",chan+1,key,press); + printf("Pressure %2d %3s %3d\n",chan+1,key,press); /* [SS] 2022.04.28 */ }