Samples this mode at point-index coordinate t, which wraps around modulo n (so both -0.5 and n - 0.5 land halfway between the last and first point), using linear interpolation between the nearest sample points.
-0.5
n - 0.5