Hi everybody,
I state that I do not speak English well.
working on an algorithm of Granular Synthesis, I had problems of unwanted clicks when updating the frequency of the [phasor~] (I use it to read an array that contains a source file and to read another array that contains a window function).
I've solved this problem applying another window ( [line~] that goes to 0 to 1 and 1-0 in some milliseconds) only when I change frequency. sincerely, this method works, but I just thought it was too "rustic".
I read in this forum that also other persons has had the same problem, and they too have searched and found some solutions.
http://puredata.hurleur.com/sujet-4763-variable-grain-size-granular-synth
in this regard, I made an object for Pd with Faust. I called it [phasor~] because its behaviour it's look like that of classic [phasor~] but it's signal input is updated only when the cycle is complete (ie beginning of each cycle - phase = 0) like a [samphold~].
by the time I simply tested its basic operation and seems to work well.
I hope it will be useful to someone else, also to different purposes.
Mario