Hmmm, then it's not a simple delay—it's a modulated delay.Ichad.c wrote:Sorry -> I was being vague, the code is for a simple delay - but the use will be for a chorus.
I think you're falling in the trap of thinking, "This is, essentially, an integer delay plus a fractional delay. I know how to do a variable integer delay, so I just add this 0->1 sample allpass delay, and I have my variable fractional delay." But the fractional delay filter has a memory, and you're essentially scrambling that memory continuously as you sweep the delay line. It's clicking because of those discontinuities.
This kind of fractional delay is fine for a fixed fractional delay—say you need a delay of 10.13 samples.
