Ugh, sinesum may not only pad your array, assuming that you want to use 4 pt interpolation, but may also reduce the array size to the next lower power of 2 + 3 pts. You have been warned; don't waste time like me wondering why your patch is a little off.
Annotation 2020-06-30 092726.png sinesum changes table size.pd