Reverse Delay Refining... Weird clicking

Jieverson Maissiat's icon

Hi! I'm trying to implement reverse delay on a different project that I have. Last week I have implemented different algorithms, but in all of them I have been dealing with weird clicks.To help demonstrate the problem I'm facing, I have build a very basic reverse delay here.... with a fixed buffer of sample rate size (so, 1 second), with variable time (difference between read and write starting position). Feedback control and mix between wet & dry. I've been using a single data object buffer, with poke and peek. I've tried different interpolations on peek, and have stick with linear or cubic. I also have a boundmode wrap at peek.

I'm attaching my code here, so you guys can check. The click is not SO pronounced... but I would like to remove it if possible.

simple_reverse.maxpat
Max Patch

Jieverson Maissiat's icon

This is the basic reverse code: (the mix is outside)