This is just like Ramp, but always takes the shortest way around a defined circle, wrapping values where appropriate. This can be useful when smoothing panning signals for speaker rings, for instance in Vector Base Amplitude Panning.
in |
The signal to be smoothed. |
lagTime |
Lag time in seconds. The default is 0.1. |
circmin |
The lower wrap value. The default is -180. |
circmax |
The upper wrap value. The default is 180. |
CircleRamp also defines an extension method for UGen which has the same defaults listed above.