RNBO Objects & Operators fastcubicinterp
Open Help

fastcubicinterp

fastcubic interpolation

Description

Perform fastcubic interpolation on input. The interpolated shape of fastcubicinterp is determined by four keyframe points (w, x, y, and z). The output curve is the segment between the middle two points (x and y).

Arguments

w [number]

Optional

Set's the value for the 'w' control point. This is the leftsmost value of fastcubicinterp.

x [number]

Optional

Set's the value for the 'x' control point. This is the second value of fastcubicinterp. The output curve is the segment between the middle two points (x and y).

y [number]

Optional

Set's the value for the 'y' control point. This is the third value of fastcubicinterp. The output curve is the segment between the middle two points (x and y).

z [number]

Optional

Set's the value for the 'z' control point. This is the rightmost most value of fastcubicinterp.

Inlets

a [number]

In the leftmost inlet, this is the input value to be interpolated.

w [number]

Set's the value for the 'w' control point. This is the leftsmost value of fastcubicinterp.

x [number]

Set's the value for the 'x' control point. This is the second value of fastcubicinterp. The output curve is the segment between the middle two points (x and y).

y [number]

Set's the value for the 'y' control point. This is the third value of fastcubicinterp. The output curve is the segment between the middle two points (x and y).

z [number]

Set's the value for the 'z' control point. This is the rightmost most value of fastcubicinterp.

Outlets

out1 [number]

The output curve is the segment between the middle two points (x and y).

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: false)

Trigger computation on all inlets.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

a [number]

In the leftmost inlet, this is the input value to be interpolated.

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

w [number]

Set's the value for the 'w' control point. This is the leftsmost value of fastcubicinterp.

x [number]

Set's the value for the 'x' control point. This is the second value of fastcubicinterp. The output curve is the segment between the middle two points (x and y).

y [number]

Set's the value for the 'y' control point. This is the third value of fastcubicinterp. The output curve is the segment between the middle two points (x and y).

z [number]

Set's the value for the 'z' control point. This is the rightmost most value of fastcubicinterp.

See Also

Name Description
interp Interpolate inputs
fastcubicinterp~ fastcubic interpolation
linearinterp~ Linear interpolation
cosineinterp~ Cosine interpolation
splineinterp~ Catmull-Rom spline interpolation
slide The discrete derivative of the input
smoothstep Smoothed fade of inputs
rampsmooth Smooth an incoming signal