From 45bd1a7102829789393bf67f6e0f7d639e5d9b66 Mon Sep 17 00:00:00 2001 From: sshlien Date: Mon, 3 Jun 2024 19:34:24 -0400 Subject: [PATCH] 2024.06.03 --- VERSION | 3 +-- doc/readme.txt | 2 +- midistats.c | 4 ++-- store.c | 4 +++- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index d4d48b5..1c67ef6 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1 @@ -April 30 2024 - +June 03 2024 diff --git a/doc/readme.txt b/doc/readme.txt index ada3013..039670b 100644 --- a/doc/readme.txt +++ b/doc/readme.txt @@ -6,7 +6,7 @@ abc2abc version 2.22 April 30 2024 yaps version 1.94 April 30 2024 abcmatch version 1.83 February 19 2024 midicopy version 1.39 November 08 2022 -midistats version 0.91 March 21 2024 +midistats version 0.92 June 03 2024 24th January 2002 Copyright James Allwright diff --git a/midistats.c b/midistats.c index 18215b5..1544348 100644 --- a/midistats.c +++ b/midistats.c @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ -#define VERSION "0.91 March 21 2024 midistats" +#define VERSION "0.92 June 03 2024 midistats" /* midistrats.c is a descendent of midi2abc.c which was becoming to large. The object of the program is to extract statistical characterisitic @@ -1092,7 +1092,7 @@ long ltempo; beatnumber = Mf_currtime/division; trkdata.tempo[0]++; if (noOutput == 1) return; - if (trkdata.tempo[0] == 0) printf("tempo %6.2f bpm\n",60000000.0/tempo); + if (trkdata.tempo[0] == 1) printf("tempo %6.2f bpm\n",60000000.0/tempo); else if (trkdata.tempo[0] < 10) printf("ctempo %6.2f %6.2f\n",60000000.0/tempo,beatnumber); } diff --git a/store.c b/store.c index 6f8e683..a5168f0 100755 --- a/store.c +++ b/store.c @@ -1941,6 +1941,8 @@ char *s; done = 0; } /*[SS] 2024.04.30 */ + printf("%s\n",command); + if (strcmp(command, "channel") == 0) { skipspace(&p); ch = readnump(&p) - 1; @@ -3150,7 +3152,7 @@ int local; }; } -/* deleted event_info_key(key,value) [JA] 2024-04-30 */ +/* deleted event_info_key(key,value). It is now in parser2.c [JA] 2024-04-30 */ static void stack_broken(v) /* store away broken rhythm context on encountering grace notes */