Calculate measure and note durations from a tempo and time signature.
Measure duration
ms / s
Durations rounded to 3 decimal places in milliseconds and 6 in seconds. Each triplet note lasts two-thirds of its regular value; dotted notes last one and a half times their regular value.