interp
Examples
Arguments
in2 [number]
Set's the value for the 'w' control point
in3 [number]
Set's the value for the 'x' control point
in4 [number]
Set's the value for the 'y' control point
in5 [number]
Set's the value for the 'z' control point
Inlets
in1 [auto]
Inputin2 [number]
Set's the value for the 'w' control point
in3 [number]
Set's the value for the 'x' control point
in4 [number]
Set's the value for the 'y' control point
in5 [number]
Set's the value for the 'z' control point
Fixed Attributes
These attributes must be set in the object box and determine the behavior of the object at runtime.
mode [enum] (default: linear)
Interpolation type
Possible values:
0 = 'linear'
1 = 'cubic'
2 = 'spline'
3 = 'cosine'
4 = 'step'
5 = 'none'
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
in1 [auto]
Input
in2 [number]
Set's the value for the 'w' control point
in3 [number]
Set's the value for the 'x' control point
in4 [number]
Set's the value for the 'y' control point
in5 [number]
Set's the value for the 'z' control point
See Also
Name | Description |
---|---|
interp | Interpolate inputs |
linearinterp | Linear interpolation |
splineinterp | Catmull-Rom spline interpolation |
cosineinterp | Cubic interpolation |
cubicinterp | Cubic interpolation |
slide | The discrete derivative of the input |
smoothstep | Smoothed fade of inputs |
rampsmooth | Smooth an incoming signal |