fix interpolation and add latency to spectrum