I am working on a Poly-Rhythm generator and need to be able to have running cycle of ever changing onsets. For example, one of my series of poly-ryhthm's base is 5. I want to cycle through that series with an onset on the 4th note. I then want the next onset to start 3 notes later, then the next 2 notes later. I want to be able to set this up for large scale running patterns. Just not sure how to do the calculations.