CircleRamp:
Filter:
Classes (extension) | UGens > Filters > Linear

CircleRamp : Filter : PureUGen : UGen : AbstractFunction : Object
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

CircleRamp.ar(in: 0.0, lagTime: 0.1, circmin: -180, circmax: 180, mul: 1.0, add: 0.0)

CircleRamp.kr(in: 0.0, lagTime: 0.1, circmin: -180, circmax: 180, mul: 1.0, add: 0.0)

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.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

UGen method

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

circleRamp(lagTime, circmin, circmax)