Open Help
clamp
Clip an input to a range within an upper and lower bound.
Inlets
Input [number]
The input to be clipped.Lower Bound [number]
Sets the lower bound of the clip.Upper Bound [number]
Sets the upper bound of the clip.Outlets
Clipped Output [number]
The clipped output.Fixed Attributes
These attributes must be set in the object box and determine the behavior of the object at runtime.
hot [bool] (default: 0)
All inlets trigger calculation.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
in1 [number]
The input to be clipped.
in2 [number]
Sets the lower bound of the clip.
in3 [number]
Sets the upper bound of the clip.
reset [bang] (default: 0)
Reset inlets to default values.
See Also
Name | Description |
---|---|
wrap | Wrap input to a range within an upper and lower bound |
wrap~ | Wrap input to a range within an upper and lower bound |
fold | Fold input to a range within an upper and lower bound |
fold~ | Fold input to a range within an upper and lower bound |