ref: d182f65d75feb72cac811a72062c5cf0023f522a
parent: 7e646b6916145bca8c82f178cd0ef793f0da80d7
parent: e58c162d5fa20a110291114416fc8786a4d40e4f
author: Bernhard Schelling <14200249+schellingb@users.noreply.github.com>
date: Wed Oct 17 13:20:37 EDT 2018
Merge pull request #30 from kavika13/patch-1 Fix incorrect constant for μs per quarter note
--- a/tml.h
+++ b/tml.h
@@ -415,7 +415,7 @@
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)