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.
sinesum changes table size.pd
-
Warning: sinesum may change array size