CircleRamp:
Filter:
sc3-plugins/Classes (extension) | UGens > Filters > Linear

CircleRamp
ExtensionExtension

circular linear lag

Description

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.

Class Methods

.ar

.kr

Arguments:

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.

UGen method

CircleRamp also defines an extension method for UGen which has the same defaults listed above.

circleRamp(lagTime, circmin, circmax)

Examples