I cannot figure out why I have some clicks in this instrument. Is it releated to the guarding point? Even if I change the size or the table nothing happens. It works without clicks only if ksmps = 2 or less.
Thank you, never too late.
I was running at k rate because the exemple is a transposition of my livecoding system where a phasor is the time and controls the events. For this reason the idea was to keep it a k rate.
U are right, at a rate everything works fine, but what I do not understand is the reason why clicks are only when the buffer is read again. It means that it’s not a problem of a or k rate because normally the interpolation kicks in.
By buffer being read do you mean the click does not occur at the start but does each time the phasor restarts at 0? I could be wrong but suspect that would be because the first k-cycle would start at exactly 0 seconds (so no click), each subsequent phasor cycle likely starts x ksmps later.
For example, I tried it at 10 ksmps (see linked pic). And I think the interpolation is working because it’s a “soft-click”, you can see it tapered over 10 samples, although that’s enough that it’s still audible.
A harsher click might be amplitude changing between 2 samples.
Obviously at 5 ksmps the click gets softer, at 2 it’s essentially inaudible. But at say 64 it doesn’t sound like a click, more like a thud which is likely due to the interpolation. I think without interpolation, at 64 ksmps you’d likely get a pretty hard click, not tapered like this: