Worked example
Long duration (ms): 333.33333333
Inputs
- Beat tempo (BPM): 120
- Long part (ratio numerator): 2
- Short part (ratio denominator): 1
One long-short pair occupies exactly one BPM beat; the long:short ratio need not be normalized (2:1 is triplet swing, 3:1 is a heavier swing).
Use the units shown.
long_ms (milliseconds): (60000/bpm) * long_parts/(long_parts+short_parts), the first event duration.
short_ms (milliseconds): (60000/bpm) * short_parts/(long_parts+short_parts), the second event duration.
second_event_ms (milliseconds): onset time of the short event, equal to long_ms after the pair start at 0.
One long-short pair occupies exactly one BPM beat; the long:short ratio need not be normalized (2:1 is triplet swing, 3:1 is a heavier swing).
Ableton Learning Music: beat and tempo ↗Long duration (ms): 333.33333333
Long duration (ms): 450