Codebox Operators cubicinterp

cubicinterp

Cubic interpolation

cubicinterp(a, w, x, y, z): out1

Arguments:

Arguments

NameTypeDefaultDescription
anumber

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

wnumber

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

xnumber

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

ynumber

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

znumber

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

Returns

NameTypeDescription
out1number

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