splineinterp~
Catmull-Rom spline interpolation
Description
Perform Catmull-Rom spline interpolation on signal input. The interpolated shape of the spline 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
w [auto]
Set's the value for the 'w' control point. This is the leftsmost value of the spline.
x [auto]
Set's the value for the 'x' control point. This is the second value of the spline. The output curve is the segment between the middle two points (x and y).
y [auto]
Set's the value for the 'y' control point. This is the third value of the spline. The output curve is the segment between the middle two points (x and y).
z [auto]
Set's the value for the 'z' control point. This is the rightmost most value of the spline.
Inlets
a [auto]
In the leftmost inlet, this is the input value to be interpolated.
w [auto]
Set's the value for the 'w' control point. This is the leftsmost value of the spline.
x [auto]
Set's the value for the 'x' control point. This is the second value of the spline. The output curve is the segment between the middle two points (x and y).
y [auto]
Set's the value for the 'y' control point. This is the third value of the spline. The output curve is the segment between the middle two points (x and y).
z [auto]
Set's the value for the 'z' control point. This is the rightmost most value of the spline.
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
a [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.
w [auto]
Set's the value for the 'w' control point. This is the leftsmost value of the spline.
x [auto]
Set's the value for the 'x' control point. This is the second value of the spline. The output curve is the segment between the middle two points (x and y).
y [auto]
Set's the value for the 'y' control point. This is the third value of the spline. The output curve is the segment between the middle two points (x and y).
z [auto]
Set's the value for the 'z' control point. This is the rightmost most value of the spline.
See Also
Name | Description |
---|---|
interp~ | Interpolate inputs |
splineinterp | Catmull-Rom spline interpolation |
cubicinterp | Cubic interpolation |
linearinterp | Linear interpolation |
cosineinterp | Cubic interpolation |
slide | The discrete derivative of the input |
smoothstep | Smoothed fade of inputs |
rampsmooth | Smooth an incoming signal |