How do I get rid of the clicks?

Jan 23, 2012 at 10:30am

How do I get rid of the clicks?

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!

– Pasted Max Patch, click to expand. –
#61400
Jan 23, 2012 at 10:57am

You need to post the poly~ file as well,
Cheers
Roger

#221474
Jan 23, 2012 at 2:33pm

Oops, minor slip there… Here it is:

– Pasted Max Patch, click to expand. –
#221475
Jan 23, 2012 at 5:10pm

Aaarhhhhh!!!!

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:

– Pasted Max Patch, click to expand. –

and here is the poly~ file:

– Pasted Max Patch, click to expand. –
#221476
Jan 23, 2012 at 5:31pm

minimum~ and maximum~ are your friend for this…

#221477
Jan 23, 2012 at 6:22pm

Thanks, guys! Stable now. You’ve saved me a sleepless night :-)

#221478
Jan 24, 2012 at 3:09am

hey kflak
can you post your final patch? id like to have a look

thanks

#221479
Jan 24, 2012 at 9:47am

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:

– Pasted Max Patch, click to expand. –

and here’s the abstraction:

– Pasted Max Patch, click to expand. –
#221480
Jan 24, 2012 at 8:43pm

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.

john

#221481
Jan 25, 2012 at 10:15pm

If you make a max patcher that crashes max please do send it to support@cycling74.com. 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.

Rob

#221482
Feb 5, 2012 at 3:54pm

johnr: Will defintely take a look at it :-)
Rob: Will keep it in mind for the future!

#221483

You must be logged in to reply to this topic.