Oftentimes plugin controls, such as Volume, EQ boost./cut, etc., need to be smoothed to eliminate “zipper noise” when changing the control value while audio is running.
One means I have used is to check the parameter value at the beginning of every Process() block. If the value has changed from the previous check I then interpolate to the new value over nFrames - calculating a new incremental value in each “For” loop (i/nFrames). This works but the final, new value isn’t reached until the end of the Process() block. So, I am wondering if this is how it’s typically done or if there is something more common/straightforward?
Any input appreciated!