Harmonic amplitudes are messed up 'cos the aliasing never went anywhere, it just happens to fall exactly at the same frequencies as the regular harmonics.hugoderwolf wrote: Thu Jan 22, 2026 8:14 am Indeed with integer wavelength you get no inharmonic aliasing, but the harmonic amplitudes are messed up. I'm not sure why because in my mind a BLEP would have its zero crossings at integer sample offsets. But that's probably simply not the case (didn't confirm).
BLEPs don't put zero-crossings (or more generally: transitions) at integer samples. You solve for the exact transition that happens somewhere within the sampling interval and then you shift (or choose a tabulated branch that is suitably shifted) the BLEP by matching amount.
Try it. You'll find that pitch accuracy becomes next to useless for actually making tonal music.But it could be also an interesting approach to quantize to integer wavelengths instead, as the harmonic amplitude problem might be tolerable when layering 7 saws. Then you'd save the highpass as there are no harmonics below fundamental. However, tuning of higher notes will be off (haven't checked by how much).
