How to avoid "zipper noise" when using sliders as control params?

    Mar 21 2022 | 6:22 pm
    Greetings! As an exercise, I'm experimenting with building some simple channel strip functions in Max. So looking at driving faders and pans and things from sliders.
    I keep running into issues with Zipper noise. I understand that this is happening because slider doesn't send output at the sample rate, but only only once per sample block (sample vector). This can create jumps between sample blocks.
    I'm familiar with some ways to mitigate this in Pure Data, mostly involving a lopass filter with a low cutoff. I'm wondering what the most idiomatic solution is in Max. Thanks for any input! Below are some examples.

    • Mar 21 2022 | 7:07 pm
      GUI objects are outputting once per mouse sample rate. knowing this - and looking at the values you get - you have everything you need to run the number through line~ in order to implement a perfec linear interpolation between these values in the signal domain. if this is till not enough for the required sonic experience, you can drive that further by smoothing the linear envelope out by interpolation using rampsmooth~ or slide~.
      of course in most situations you would simply use line~ 25 when "GUI" or "automation" is the source. 25 ms == 40 Hz == no more clicks and pops