Fit in Range (

Scales a value so that it’s always within the specified range.

This node keeps track of the minimum and maximum values it receives over time. Then it looks at the current value relative to its minimum and maximum, and scales it to be between Fitted Minimum and Fitted Maximum.

This node is useful if you have a data source with uncertain values (such as audio loudness) and you want to constrain it.

Keywords: agc, automatic, bound, calibrate, clamp, compressor, control, convert, gain, limit, restrict, scale, train

Example composition:

Back to vuo.math node set documentation.