From e392893a9a58056540a977d6bec985c30f2482e5 Mon Sep 17 00:00:00 2001 From: sshlien Date: Fri, 27 Jun 2025 13:20:43 -0400 Subject: [PATCH] 2025.06.27 --- VERSION | 2 +- doc/readme.txt | 2 +- midistats.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 06d3fd4..dff1228 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -June 17 2025 +June 27 2025 diff --git a/doc/readme.txt b/doc/readme.txt index a4fc1d0..55f2b3b 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.40 August 11 2024 -midistats version 0.99 June 17 2025 +midistats version 1.00 June 27 2025 24th January 2002 Copyright James Allwright diff --git a/midistats.c b/midistats.c index 6472c78..06f7c56 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.99 June 17 2025 midistats" +#define VERSION "1.00 June 27 2025 midistats" /* midistrats.c is a descendent of midi2abc.c which was becoming to large. The object of the program is to extract statistical characterisitic @@ -1102,7 +1102,7 @@ long ltempo; { float beatnumber; tempo = ltempo; - beatnumber = Mf_currtime/division; + beatnumber = (double) Mf_currtime/(double) division; /*[SS] 2025.06.27 */ trkdata.tempo[0]++; if (noOutput == 1) return; if (trkdata.tempo[0] == 1) printf("tempo %6.2f bpm\n",60000000.0/tempo);