Codebox Operators linearinterp

linearinterp

Linear interpolation

linearinterp(frac, x, y): out1

Arguments:

Arguments

NameTypeDefaultDescription
fracnumber

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

xnumber

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

ynumber

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

Returns

NameTypeDescription
out1number

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