clamp Reference

Clamp values in a specified range

clamp

Examples

Constructors

  • { arguments={input, min, max}, inlets={} }
  • { arguments={min, max}, inlets={input} }
  • { arguments={max}, inlets={input, min} }
  • { arguments={}, inlets={input, min, max} }

Inlets

input

Typefloat

input to clamp

min

Typefloat

lower bound

max

Typefloat

upper bound

Attributes

Common Box Attributes

See Also

Name Description
clip
fold
max
min
scale
wrap