Appendix A: Exact Sinc-Interpolation of Sampled Periodic Signals
where the sampling rate is normalized to be , and the period is samples.
The first step in the derivation is the exact general formula
which follows immediately from the identity . This form can be used to develop a table-based sinc interpolation algorithm in which the function is sampled, windowed, and stored in a table over a small range of . (Reverting to the weighted sinc table is advisable near an argument of zero where there is a pole-zero cancellation in the definition of , i.e., when .) Note that when crosses , the table can be implemented as . In other words, the table between and can be computed from the table between and using a simple one-bit right-shift on the table address and the table output. If this trick is used, the table window must be applied separately, but there ways to synthesize simple windows (e.g., the Hanning or Hamming windows which consist of a single sinusoidal component) using waveform synthesis techniques, avoiding a separate table for the interpolated window function.