RNBO Objects & Operators cosineinterp~
Open Help

cosineinterp~

Cubic interpolation

Description

Perform cosine interpolation on signal input. The interpolated shape of cosineinterp is determined by two keyframe points (x and y).

Arguments

x [auto]

Optional

Set's the value for the 'x' control point. This is the second value of cosineinterp.

y [auto]

Optional

Set's the value for the 'y' control point. This is the third value of cosineinterp.

Inlets

frac [auto]

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

x [auto]

Set's the value for the 'x' control point. This is the second value of cosineinterp.

y [auto]

Set's the value for the 'y' control point. This is the third value of cosineinterp.

Outlets

out1 [signal]

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

Dynamic Attributes

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

frac [auto]

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.

x [auto]

Set's the value for the 'x' control point. This is the second value of cosineinterp.

y [auto]

Set's the value for the 'y' control point. This is the third value of cosineinterp.

See Also

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