Because Zathras-1 now has to interact with linearly interpolated timestretches, we had to calculate the latency of our timestretcher.
Multiple results were new to me and interesting to see.
- An sliding window fourier transform has a latency of 0. I did not expect that at all.
- When an input frame is stretched, then each sample of the inputframe will haveĀ a different latency.
- The latencies of all samples, except the middle one, depend on the playback speed. Yes, you read that right: the playback speed affects the latency. And that is really something we do not want to compensate for. Therefore, use as reference the middle of the frame.
- It is possible to have negative latencies. Part of the signal is already out before we believe we provided it to the timestretcher.