Counts based on hertz (oscillations per second). Uses elapsed internally.
As perSecond, but per minute.
Returns a proportion of amount
depending on elapsed time.
Cumulatively, amount
is yielded every second.
Returns a function which cycles between 0..1 (inclusive of 0 and 1).
totalTicks
is how many ticks it takes to get to 1. Since we want an inclusive 0 & 1,
the total ticks is actually +1.
Counts beats based on a BPM. Uses elapsed internally.