Remap

Read with AI
All docs in one file (llms-full.txt)
Remap #Signal #Node
Remap

Computes t = (In - InMin) / (InMax - InMin) and outputs OutMin + (OutMax - OutMin) * t. It is the adapter for connecting nodes whose value units do not match.

  • Defaults are InMin 0 / InMax 1 / OutMin 0 / OutMax 1 (= passes through unchanged)
  • The Clamp toggle (default ON) limits t to 0-1. With it OFF, the line keeps extending beyond the input range
  • Setting OutMin > OutMax gives an inversion

When the difference between InMax and InMin is less than 1e-6, t is treated as 0 and the output is fixed to OutMin.

Input ports

Port IDType
Infloat
InMinfloat
InMaxfloat
OutMinfloat
OutMaxfloat

Output ports

Port IDType
Remappedfloat

Scriptable members

PathType
inInputfloat
inMinInputfloat
inMaxInputfloat
outMinInputfloat
outMaxInputfloat
clampbool

Synapse Apps (scripting)

await synapse.modules.create({ type: "Remap" })

Pages linking here