You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Protect against loss of floating point precision by always rounding to long values before performing arithmetic with system timestamp values (since those are huge numbers of milliseconds).
Added
Some new utility methods to measure the distance in time to the nearest beat, bar, and phrase boundaries.
Fix basic math issues with beat calculations, whoops!
Fixed
Use double-precision floating point values for beat, bar, and phrase intervals, rather than long integers. This was a bad mistake in the port from Clojure, which was using precise rational values for them. This was leading to inconsistent beat calculations, which was causing sync problems on the Pioneer network.
Support for enhanced phases (oscillating marker phases at fractions and/or multiples of their normal speed), now that I have found a way to convert floating point numbers to ratios in Java.