RNBO Objects & Operators fold~
Open Help

fold~

Fold input to a range within an upper and lower bound

Arguments

low [auto]

Optional

Sets the lower bound of the fold.

high [auto]

Optional

Sets the upper bound of the fold.

Inlets

x [auto]

The input to be folded.

low [auto]

Sets the lower bound of the fold.

high [auto]

Sets the upper bound of the fold.

Outlets

out1 [signal]

The folded output.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

high [auto]

Sets the upper bound of the fold.

low [auto]

Sets the lower bound of the fold.

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

x [auto]

The input to be folded.

See Also

Name Description
fold Fold input to a range within an upper and lower bound
clip Clip an input to a range within an upper and lower bound.
clip~ Clip an input to a range within an upper and lower bound.
wrap Wrap input to a range within an upper and lower bound
wrap~ Wrap input to a range within an upper and lower bound