I'm new to Gen and I'm building a simple delay. I've attached a screenshot of my gen patch. Basically out1 sends unmodified signal that comes into inlet 1 while out2 delays the signal based on the delay time (in ms) provided by inlet 2. In my test Max patch I have a slider sending values to inlet 2 of the Gen patch. If I move the slider to modify the delay time I hear crackling/glitchy noise coming out the gen patch.
How do I go about smoothing this out? I tried interpolating the current output value with the previous one, but clearly that's not a correct way to do this, as it still sounds glitchy.
Thanks for help