I’m trying to make an audio rate signal that adds its previous value to a sample of another audio rate signal, and wraps within a certain range. Phasor.ar doesn’t work for this as it seems to read any ‘rate’ input as control rate. The below example works using Integrator.ar and Wrap.ar, but I’d prefer to avoid eventual loss of significance.
You should be able to get the same behavior as Phasor using LFSaw, if you calculate the frequency parameter correctly. I believe freq should take audio rate input.
And in incidentally - feel free to file the “Phasor doesn’t support audio-rate rate param” as a bug / feature request on GitHub. I can’t see a good reason why it can’t do this.
Can you post an example of some code that has this problem. I think I’ve identified the problem in the code, but it would be good to have an example of some problematic code so I can confirm that.