How do I get rid of the clicks?

    Jan 23 2012 | 10:30 am
    Hi, all,
    I have a problem: I am building a kind of random looper/stutterer kind of thing, but i keep getting a lot of annoying clicks in the sound coming out of it. How do I trigger the adsr envelope at the exact right moment to get rid of the clicks? Been trying to use some of the granular synth tricks I've picked up in different tutorials, but I think I need some other tricks for this one... Very grateful for any help!

    • Jan 23 2012 | 10:57 am
      You need to post the poly~ file as well, Cheers Roger
    • Jan 23 2012 | 2:33 pm
      Oops, minor slip there... Here it is:
    • Jan 23 2012 | 5:10 pm
      I've found a way to make my patch click-free now, but every time I run it, it crashes max. For the life of me, I can't figure out why this is happening. It worked just fine, and now there is no way in hell it will run for more than a few seconds at the time. I suspect there's something fishy going on between max and the audio driver. I'm using Fireface UC with the latest drivers, and I've noticed a few times earlier that max can crash when I switch to this sound card... Here is the patch:
      and here is the poly~ file:
    • Jan 23 2012 | 5:31 pm
      minimum~ and maximum~ are your friend for this...
    • Jan 23 2012 | 6:22 pm
      Thanks, guys! Stable now. You've saved me a sleepless night :-)
    • Jan 24 2012 | 3:09 am
      hey kflak can you post your final patch? id like to have a look
    • Jan 24 2012 | 9:47 am
      Hi, johnr,
      I didn't do much more than set the range of the random generators to fall very comfortably into the length of the samples I wanted to use (I knew exactly which ones I wanted to use, so this was not a problem). Nest stage in the process would be to make it more dynamic in order to keep swapping soundfiles, for example. This is where I suppose I'll need the minimum~ and maximum~ objects, and convert some of the information to signals (specifically the information to the groove~ object)
      Here's the patch:
      and here's the abstraction:
    • Jan 24 2012 | 8:43 pm
      great; thanks.
      if you havnt already, you may also want to take a look at the Granular Toolkit.. you can create some very intense glitch/stutter type loopers with that.
    • Jan 25 2012 | 10:15 pm
      If you make a max patcher that crashes max please do send it to This way we are more likely to notice and fix it! :)
      Meanwhile, we did notice the patcher above that demonstrates this groove~ crash (thanks!). Tim's fix for it should be in Max 6.0.4 once it is released.
    • Feb 05 2012 | 3:54 pm
      johnr: Will defintely take a look at it :-) Rob: Will keep it in mind for the future!