I saw a few posts about smoothing, modulating, and resampling the delay line but my problem is a bit different I guess.
I tried the juce_DelayLine which has a few different interpolation types. It works well but I noticed something when I tried to test it with a pure sine or a mix of a few sines to see if there are any pops or clicks. I don’t change the delay time continuously, my knob is a kind of state knob.
When I play the sine and try to change the delay line it creates a small pop after changing the delay time. It is not a huge pop but it is there. When I change the delay time only once, I get one pop. When I change it two times I get one pop for each change. Sometimes it does not happen but mostly it pops.
Some people use a low-pass filter to get rid of this and get a kind of tape effect but I want mine to be very clear and smooth during changing the delay time.
I am open to all kinds of suggestions, I can share my code but I just followed the simple steps,
- reset in the constructor,
- prepare in prepareToPlay
- process in processBlock
- setDelay in paramaterChanged
Thanks in advance