Threshold

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

Converts a continuous value (volume, brightness, an LFO, and so on) into a Bool for gating and a Trigger for firing. Above is true while In is at or above Threshold, and Rising Edge fires at the moment it crosses.

  • Threshold default 0.5
  • The meter in the node UI shows the history and the live value, and dragging the orange line changes the threshold (that value is written straight into the Threshold input, so both saving and connections stay consistent)

Only Rising Edge has hysteresis of 0.03. Once it fires, it does not fire again until In drops below Threshold - 0.03 (this prevents rapid re-firing on input sitting exactly at the threshold). Above is the raw comparison with no hysteresis, so for gating it behaves as before.

Input ports

Port IDType
Infloat
Thresholdfloat

Output ports

Port IDType
Abovebool
Rising Edgetrigger

Scriptable members

PathType
inInputfloat
thresholdInputfloat

Synapse Apps (scripting)

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

Pages linking here

Also referenced from