From e58c162d5fa20a110291114416fc8786a4d40e4f Mon Sep 17 00:00:00 2001 From: Merlyn Morgan-Graham Date: Wed, 17 Oct 2018 00:51:19 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20incorrect=20constant=20for=20=CE=BCs=20pe?= =?UTF-8?q?r=20quarter=20note?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes bug #29 --- tml.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tml.h b/tml.h index d8e11f8..83dcb5b 100644 --- a/tml.h +++ b/tml.h @@ -415,7 +415,7 @@ TMLDEF tml_message* tml_load(struct tml_stream* stream) tml_message *PrevMessage = TML_NULL, *Msg, *MsgEnd, Swap; unsigned int ticks = 0, tempo_ticks = 0; //tick counter and value at last tempo change int step_smallest, msec, tempo_msec = 0; //msec value at last tempo change - double ticks2time = 480000 / (1000.0 * division); //milliseconds per tick + double ticks2time = 500000 / (1000.0 * division); //milliseconds per tick // Loop through all messages over all tracks ordered by time for (step_smallest = 0; step_smallest != 0x7fffffff; ticks += step_smallest)