Very good! You seem to know how it works.
To get the number of ticks - take the delay value, divide it with 256 and multiply by number of ticks in line. so (delay/256)*tpl - just use the delay value in each line. You also have to round some values…and like danoise said, it is possible to choose to have the notes late or early, it can make subtle differences.
And I have something very nice for you.
Yes I have been naughty and have also sampled hihats, in renoise by itself, playing with the groove sliders. It is really boring to have to place so many slice markers by hand. But it was worth the hassle. I found how the groove sliders delay notes.
Each is for delaying the 2nd, 4th, 6th and 8th 16th note in your tune, individually. To get straight swings like in other drum machines, just set them all to the same value.
As you noticed, the percents work other than the 50%-75% stuff. They quasi go in their range 0…100 from 50%-83(1/3)%. So maximum shift is not just one half (0.5), but rather 2/3 (0.666666666…) and all that withing 0…100%…
conversion:
percent = 25renoise(0.666666…/0.5)/100+50
renoise = (percent-50)*(0.5/0.666666…)*100/25
shorter:
percent = (renoise+150)/3
*renoise = (percent - 50)3
Sorry, I’m very tired right now, and cannot longer keep up my attention to test these formula. Interested to hear what you experience, if you try to match renoise and other programs with them. Maybe they match, maybe I made mistakes in them. Maybe even triplets will match, but maybe the positions in between could be different from software to software.
Edit, fixed the formulas