Clicking issues in my patch of unknown origin
I'm currently working on a making synth-sequencer, where I have the synths programmed in Max. However, my current patcher, which is applying an attack-release envelope onto a changing cycle object, is having issues with clicking randomly while I am writing comments in the patch. I often have the sequencer running while I am writing comments in it. I am not sure what is causing these random clicks, as it seems as though the patcher isn't using much cpu, and if I don't touch the computer while it is running, there seems to be no clicking.
I am wondering what might be causing this clicking, and how I might prevent it. Could I possibly get some help with diagnosing this issue?



p.s. there is some clicking inherent to the design of the synth, as the cycle object is moving discontinuously between pitches. I haven't yet programmed the envelops for these cases, but I am well aware of this problem. I am more concerned with the clicking happening whenever I am just editing the patch, as I'm worried that when I scale up the project that I might get clicking when I'm changing sequencer parameters, which would be a performance problem.
as it seems as though the patcher isn't using much cpu, and if I don't touch the computer while it is running, there seems to be no clicking.
Maybe your sample rate is too high and/or your I/O vector size and Signal vector size too low?
Extreme values at those could produce clicks without having your CPU running at 100%.