Volume/gain with *~ causes clicks

alkopop79's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I've been trying to implement velocity in my M4L patch but the *~ object causes lots of audible clicks when changing the gain. Any ideas how can I avoid that?

spectro's icon
Max Patch
Copy patch and select New From Clipboard in Max.
Dave Mollen's icon

Take a look at [line~]. The volume change has to be smoothed. Because if you change it from one sample to the other you'll get a click.

Wojciech Morawski's icon

You should check this tutorial
http://youtu.be/MaZr1CKfz0U

You may also download h.elpers - collection of patches which help you to solve problem like this in the future :)
http://lowertone.net/software/helpers/