Back

divide-by-duration (clj)

(source)

function

(divide-by-duration ival dur)
Divide an interval by a duration, returning a sequence of intervals. If the interval cannot be wholly sub-divided by the duration divisor, the last interval will represent the 'remainder' of the division and not be as long as the other preceeding intervals.

Examples