RNBO Objects & Operators spline6interp
Open Help

spline6interp

6-point, 5th-order B-spline (x-form) interpolation

Description

Perform 6-point, 5th-order B-spline (x-form) interpolation on event input. The interpolated shape of the spline6 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

y0 [number]

Optional

Set's the value for the 'y0' control point. This is the leftsmost value of the spline6.

y1 [number]

Optional

Set's the value for the 'y1' control point. This is the second value of the spline6..

y2 [number]

Optional

Set's the value for the '2' control point. This is the third value of the spline6.

y3 [number]

Optional

Set's the value for the 'y3' control point. This is the fourth value of the spline6.

y4 [number]

Optional

Set's the value for the 'y4' control point. This is the fifth value of the spline6.

y5 [number]

Optional

Set's the value for the 'y5' control point. This is the rightmost value of the spline6.

Inlets

a [number]

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

y0 [number]

Set's the value for the 'y0' control point. This is the leftsmost value of the spline6.

y1 [number]

Set's the value for the 'y1' control point. This is the second value of the spline6..

y2 [number]

Set's the value for the '2' control point. This is the third value of the spline6.

y3 [number]

Set's the value for the 'y3' control point. This is the fourth value of the spline6.

y4 [number]

Set's the value for the 'y4' control point. This is the fifth value of the spline6.

y5 [number]

Set's the value for the 'y5' control point. This is the rightmost value of the spline6.

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.

y0 [number]

Set's the value for the 'y0' control point. This is the leftsmost value of the spline6.

y1 [number]

Set's the value for the 'y1' control point. This is the second value of the spline6..

y2 [number]

Set's the value for the '2' control point. This is the third value of the spline6.

y3 [number]

Set's the value for the 'y3' control point. This is the fourth value of the spline6.

y4 [number]

Set's the value for the 'y4' control point. This is the fifth value of the spline6.

y5 [number]

Set's the value for the 'y5' control point. This is the rightmost value of the spline6.

See Also

Name Description
interp Interpolate inputs
spline6interp~ 6-point, 5th-order B-spline (x-form) interpolation
cubicinterp~ Cubic interpolation
linearinterp~ Linear interpolation
cosineinterp~ Cosine interpolation
slide The discrete derivative of the input
smoothstep Smoothed fade of inputs
rampsmooth Smooth an incoming signal