But how do you avoid aliasing when you pitch up sound ? Without oversampling and with resampling rate > 1, some samples may be "skipped", resulting in aliasing.René wrote:Exactly. Oversampling is used in the impulse calculation (about 256x iirc), which is precalculated. There's no oversampling in the convolution process.
I guess this is because Remez algorithm gets mad when number of points becomes too high (because of the impulse oversampling), resulting in precision loss in intermediate calculations.The impulse tables are calculated as standard windowed-sinc, but in lower quality modes (7 and 15 points) I've found that using a Remez exchange generated impulse results in better distribution of the noise across the frequency range.
What are you calling interpolation noise ? The aliased spectrum images ?'Point-connecting' interpolation methods (bicubic, lagrange, hermite, etc.) have the unwanted side effect of having exponentially more interpolation noise when frequency increases. Sinc has almost the same noise figures across all the spectra (besides the bandlimiting effect).
-- Laurent
