Scaling

Usine provides data scaling modules for remapping, reshaping, and constraining data values. Use these modules to adapt value ranges, apply transfer curves, or create cyclic and mirrored behaviors from linear inputs.

Comparison Table

Module Method Character
Change Scale Linear remapping Maps input range [minIn..maxIn] to output range [minOut..maxOut], optional clipping
Auto Scale Adaptive remapping Automatically tracks input min/max over a time window and scales to the desired output range
Mapper Curves Curve-based mapping Remaps input through a curve shape (log, expo, power, linear, wave shaper, or user-drawn)
Mapper Values Lookup table Maps specific input values to specific output values using in/out arrays
Fold Boundary reflection Folds (reflects) values at min/max boundaries, creating mirrored zigzag behavior
Wrap Modulo wrapping Wraps values around min/max boundaries using modulo arithmetic, creating cyclic behavior

Choosing the Right Module

For range conversion:

  • Change Scale for straightforward linear remapping between known ranges
  • Auto Scale when the input range is unknown or varies over time

For non-linear response:

  • Mapper Curves for log, expo, power, or custom curve transfer functions
  • Mapper Values for discrete value-to-value lookup tables

For boundary behavior:

  • Fold to bounce values back when they exceed limits (zigzag/mirror)
  • Wrap to cycle values around when they exceed limits (modulo)

See also

version 7.0.250121

Edit All Pages