Elegant!
So I was actually using the fixed interval version of this method (the first half) for a long time? (
https://www.subsim.com/radioroom/sho...d.php?t=240883)
I guess the philosophy is to find out the segments that are of the same ratio as time intervals.